Saltar al contenido principal
POST
/
v1
/
playbooks
Create playbook
curl --request POST \
  --url https://api.devin.ai/v1/playbooks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "body": "<string>",
  "title": "<string>",
  "macro": "<string>"
}
'
{
  "access_type": "<string>",
  "body": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "created_by_user_id": "<string>",
  "created_by_user_name": "<string>",
  "org_id": "<string>",
  "playbook_id": "<string>",
  "status": "<string>",
  "title": "<string>",
  "updated_at": "2023-11-07T05:31:56Z",
  "updated_by_user_id": "<string>",
  "updated_by_user_name": "<string>",
  "macro": "<string>"
}
Crea un nuevo playbook de equipo. Requiere el permiso ManageOrgPlaybooks.

Authorizations

Authorization
string
header
required

Personal API Key (apk_user_) or Service API Key (apk_)

Body

application/json
body
string
required
Minimum string length: 1
title
string
required
Minimum string length: 1
macro
string | null

Response

Successful Response

access_type
string
required
body
string
required
created_at
string<date-time> | null
required
created_by_user_id
string | null
required
created_by_user_name
string | null
required
org_id
string
required
playbook_id
string
required
status
string
required
title
string
required
updated_at
string<date-time> | null
required
updated_by_user_id
string | null
required
updated_by_user_name
string | null
required
macro
string | null