Playbook Document Types

Gets all document types for the specified playbook.

get

Retrieves a paginated list of all document types for the specified playbook, with optional search and sorting.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
playbookIdentifierstringRequired
Query parameters
pageNumberinteger · int32Optional

The page number for paginated results.

pageSizeinteger · int32Optional

The number of items per page.

searchTextstringOptional

Optional search text to filter results.

sortinginteger · enumOptional

The sorting option for the results.

Possible values:
descbooleanOptional

Whether to sort in descending order.

Default: true
Responses
get
/playbooks/{playbookIdentifier}/document-types
GET /playbooks/{playbookIdentifier}/document-types HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  {
    "name": "text",
    "description": "text",
    "objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
    "dateAdded": "2025-12-06T04:14:37.886Z"
  }
]

Creates a new document type for the specified playbook.

post

Creates a new document type for the specified playbook.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
playbookIdentifierstringRequired
Body
namestring | nullableRequired
descriptionstring | nullableOptional
Responses
201

Created

post
/playbooks/{playbookIdentifier}/document-types
POST /playbooks/{playbookIdentifier}/document-types HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 36

{
  "name": "text",
  "description": "text"
}
{
  "name": "text",
  "description": "text",
  "objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
  "dateAdded": "2025-12-06T04:14:37.886Z"
}

Gets a specific document type by its object identifier.

get

Retrieves the details of a document type for the specified playbook using its object identifier.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
objectIdentifierstring · uuidRequired

The object identifier of the document type.

playbookIdentifierstringRequired
Responses
get
/playbooks/{playbookIdentifier}/document-types/{objectIdentifier}
GET /playbooks/{playbookIdentifier}/document-types/{objectIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "name": "text",
  "description": "text",
  "objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
  "dateAdded": "2025-12-06T04:14:37.886Z"
}

Updates an existing document type for the specified playbook.

put

Updates the details of an existing document type for the specified playbook using its object identifier.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
objectIdentifierstring · uuidRequired

The object identifier of the document type to update.

playbookIdentifierstringRequired
Body
namestring | nullableRequired
descriptionstring | nullableOptional
Responses
put
/playbooks/{playbookIdentifier}/document-types/{objectIdentifier}
PUT /playbooks/{playbookIdentifier}/document-types/{objectIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 36

{
  "name": "text",
  "description": "text"
}
{
  "name": "text",
  "description": "text",
  "objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
  "dateAdded": "2025-12-06T04:14:37.886Z"
}

Deletes a document type from the specified playbook.

delete

Deletes a document type from the specified playbook using its object identifier.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
objectIdentifierstring · uuidRequired

The object identifier of the document type to delete.

playbookIdentifierstringRequired
Responses
delete
/playbooks/{playbookIdentifier}/document-types/{objectIdentifier}
DELETE /playbooks/{playbookIdentifier}/document-types/{objectIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Last updated