v1
latestOpenAPI 3.0.0Cognigy Proprietary License2026-07-2239524.1 MBPlaybooks
Create a Playbook
Creates a Playbook in a Project.
post/v2.0/playbooks
Query parameters
resourceIdstring
An Id of a resource within the corresponding project to copy from
Headers
Accept'application/json' | 'application/hal+json' | 'application/xml' | 'text/xml' | 'text/csv'
The Accept header specifies the media type that the client expects in the response. Available options: application/json, application/hal+json, application/xml, text/xml, text/csv. The default value is application/json.
Request body
Example request
{
"name": "New Playbook",
"projectId": "66e06026706e6e0016a30e12",
"timeout": 3000
}Response
Playbook object successfully created.
Example response
{
"name": "New Playbook",
"timeout": 2000,
"createdAt": 1694518620,
"lastChanged": 1694518620,
"steps": [
{
"text": "hello world!"
}
]
}