Skip to content

Create Release Approval

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

The Approval feature mentioned is exclusive to Storyblok v1 and discontinued in v2.

  • :space_id required number

    Numeric ID of a space

  • approval The Approval Object
  • release_id number

    ID of the release that should be approved

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\":1030,\"story_id\":1067},\"release_id\":16}"
Response
{
"approval": {
"id": 12,
"status": "pending"
}
}