Inbox agents
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.
403
Insufficient permissions.
get
/v1/inbox/{chatbotId}/agents/onlineAuthorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired
The ID of the chatbot.
Body
onlinebooleanRequiredExample:
Sets the online status of the agent.
trueclientTimestampstringRequiredExample:
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.
123456789Responses
200
The updated online status.
application/json
errorstringOptional
Optional error message.
403
Insufficient permissions.
post
/v1/inbox/{chatbotId}/agents/me/onlineAuthorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired
The ID of the chatbot.
Responses
200
The current settings.
application/json
errorstringOptional
Optional error message.
403
Insufficient permissions.
get
/v1/inbox/{chatbotId}/agents/me/notificationsAuthorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired
The ID of the chatbot.
Body
pushTokenstringOptionalExample:
The push token for browser notifications.
cVA6cG-ztyB-M8_7yul:APAnGnnmmELFUbziLIVatyDVe_DyihdJhiaQHYwResponses
200
The updated settings.
application/json
errorstringOptional
Optional error message.
400
Invalid input data.
403
Insufficient permissions.
post
/v1/inbox/{chatbotId}/agents/me/notificationsLast updated