Creating Projects via API

Unlike the previous versions of Microreact, creating project via API requires an API access token.

‚Äč

post
Create Project

https://microreact.org/api/projects/create/
Request
Response
Request
Headers
Content-Type
required
string
Should be application/json; charset=utf-8
Access-Token
required
string
An API access token.
Body Parameters
required
object
A valid .microreact JSON document
Response
200: OK
A JSON document which include the ID and the URL of the project.
{
"id": "gb7RzDg87aJK2yGAqQiaiu",
"url": "https://microreact.org/project/gb7RzDg87aJK2yGAqQiaiu"
}

Example

cURL + Bash
cURL + Bash
curl \
--header "Content-Type: application/json; charset=utf-8" \
--header "Access-Token: eyJhbGciOiJIUzUxMiJ9..." \
--data "@project.microreact" \
https://microreact.org/api/projects/create