For the complete documentation index, see llms.txt. This page is also available as Markdown.

Inbox agents

Lists all agent's online status from a chatbot

get

Required Permission: chatbots.inbox.agents.list

Resource: chatbots/:chatbotId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired

The ID of the chatbot.

Responses
200

A list of agent's online status.

application/json
errorstringOptional

Optional error message.

get
/v1/inbox/{chatbotId}/agents/online

Sets the agent's own online status

post

Required Permission: chatbots.inbox.agents.online.edit

Resource: chatbots/:chatbotId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired

The ID of the chatbot.

Body
onlinebooleanRequired

Sets the online status of the agent.

Example: true
clientTimestampstringRequired

The client timestamp when the request is made. This is used to resolve conflicts when multiple requests are made in a short period of time.

Example: 123456789
Responses
200

The updated online status.

application/json
errorstringOptional

Optional error message.

post
/v1/inbox/{chatbotId}/agents/me/online

Retrieves the agent's own notification settings

get

Required Permission: chatbots.inbox.agents.notifications.get

Resource: chatbots/:chatbotId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired

The ID of the chatbot.

Responses
200

The current settings.

application/json
errorstringOptional

Optional error message.

get
/v1/inbox/{chatbotId}/agents/me/notifications

Updates the agent's own notification settings

post

Required Permission: chatbots.inbox.agents.notifications.edit

Resource: chatbots/:chatbotId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired

The ID of the chatbot.

Body
pushTokenstringOptional

The push token for browser notifications.

Example: cVA6cG-ztyB-M8_7yul:APAnGnnmmELFUbziLIVatyDVe_DyihdJhiaQHYw
Responses
200

The updated settings.

application/json
errorstringOptional

Optional error message.

post
/v1/inbox/{chatbotId}/agents/me/notifications

Last updated