Chatbot templates
Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired
The ID of the chatbot.
templateIdstringRequired
The ID of the template to be retrieved.
workspaceIdstringRequired
The ID of the workspace.
Query parameters
channelIdanyRequired
The ID of the channel to which the template belongs.
Responses
200
Template details.
application/json
errorstringOptional
Optional error message.
403
Insufficient permissions.
get
/v1/workspaces/{workspaceId}/chatbots/{chatbotId}/templates/{templateId}Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired
The ID of the chatbot.
workspaceIdstringRequired
The ID of the workspace.
Body
channelIdstringRequiredExample:
The ID of the channel for which the template is created.
t1o15pfRt7PBT5hvC9z4namestringRequiredExample:
The name of the template.
order_confirmation_v2categorystringRequiredExample:
The category of the template (e.g., "UTILITY", "MARKETING").
UTILITYResponses
201
Template successfully submitted for review.
application/json
400
Invalid input data.
403
Insufficient permissions.
post
/v1/workspaces/{workspaceId}/chatbots/{chatbotId}/templatesLast updated