Skip to main content
POST
/
v1
/
orgs
/
{org_id}
/
playbook-drafts
Generate a playbook draft from source materials (async)
curl --request POST \
  --url http://localhost:3000/v1/orgs/{org_id}/playbook-drafts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "source_material_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "callback_url": "<string>"
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

org_id
string
required

Body

application/json
source_material_ids
string<uuid>[]
required
Required array length: 1 - 50 elements
callback_url
string<uri>

Response

200

Default Response