API Reference
Create Project
API Reference
Create Project
Create new Tolstoy
POST
/projects
Authentication*
curl --request POST \
--url https://api.gotolstoy.com/projects \
--header 'Authentication: <authentication>' \
--data '{
"project": {}
}'
Parameters
projectrequired
object
Project details
Example:
{ "project": { "name": "my new project" } }
curl -X POST https://api.gotolstoy.com/projects \
--header 'Authorization: Bearer <API_KEY>'
{
"id": "1242d2ad-8179-47d2-b6a1-ce0ee8cdc359",
"tolstoy": "https://player.gotolstoy.com/wc9gat7q75fu8?sneakpeek"
}
curl -X POST https://api.gotolstoy.com/projects \
--header 'Authorization: Bearer <API_KEY>'
{
"id": "1242d2ad-8179-47d2-b6a1-ce0ee8cdc359",
"tolstoy": "https://player.gotolstoy.com/wc9gat7q75fu8?sneakpeek"
}