Skip to content

Create Approval

Terminal window
https://mapi.storyblok.com/v1/spaces/:space_id/approvals/
  • :space_id required number

    Numeric ID of a space

curl "https://mapi.storyblok.com/v1/spaces/606/approvals/" \
-X POST \
-H "Authorization: YOUR_OAUTH_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"approval\":{\"approver_id\":1028,\"story_id\":1066}}"
Response
{
"approval": {
"id": 11,
"status": "pending"
}
}