curl --request POST \ --url https://api.chatling.ai/v3/conversations/{conversation}/replies \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "text": "Thanks for waiting. Your refund is on its way."}'
import requests
url = "https://api.chatling.ai/v3/conversations/{conversation}/replies"
payload = { "text": "Thanks for waiting. Your refund is on its way." }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({text: 'Thanks for waiting. Your refund is on its way.'})
};
fetch('https://api.chatling.ai/v3/conversations/{conversation}/replies', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.chatling.ai/v3/conversations/{conversation}/replies"
payload := strings.NewReader("{\n \"text\": \"Thanks for waiting. Your refund is on its way.\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
HttpResponse<String> response = Unirest.post("https://api.chatling.ai/v3/conversations/{conversation}/replies")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"text\": \"Thanks for waiting. Your refund is on its way.\"\n}")
.asString();
require 'uri'
require 'net/http'
url = URI("https://api.chatling.ai/v3/conversations/{conversation}/replies")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"text\": \"Thanks for waiting. Your refund is on its way.\"\n}"
response = http.request(request)
puts response.read_body
{
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "The API key is invalid or has been revoked.",
"param": null,
"request_id": "req_8Fq2kLm9TzX4vB7nC1dR5sYw"
}
}
{
"error": {
"type": "permission_error",
"code": "insufficient_permission",
"message": "This API key doesn't have delete access to agents.",
"param": null,
"request_id": "req_8Fq2kLm9TzX4vB7nC1dR5sYw"
}
}
{
"error": {
"type": "not_found_error",
"code": "resource_not_found",
"message": "No conversation with this ID exists, or this API key can't access it.",
"param": null,
"request_id": "req_8Fq2kLm9TzX4vB7nC1dR5sYw"
}
}
{
"error": {
"type": "invalid_request_error",
"code": "conversation_ended",
"message": "This conversation has ended, so it can't take replies or notes.",
"param": null,
"request_id": "req_8Fq2kLm9TzX4vB7nC1dR5sYw"
}
}
Sends a reply from a team member to the user on the conversation’s channel. The agent doesn’t reply to it, and no AI credits are used.
As in the inbox, a conversation in ai mode switches to live so the AI agent stops replying, an unassigned conversation is assigned to the author, and a resolved or closed conversation reopens. These changes show as made by API key "<key name>".
On WhatsApp, Instagram, and Messenger, you can only reply while the reply window is open (see the conversation’s reply_window). If the channel rejects the reply, it’s still saved and delivery_error is set. Replies support text only.
POST
/
conversations
/
{conversation}
/
replies
Send a reply
curl --request POST \ --url https://api.chatling.ai/v3/conversations/{conversation}/replies \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "text": "Thanks for waiting. Your refund is on its way."}'
import requests
url = "https://api.chatling.ai/v3/conversations/{conversation}/replies"
payload = { "text": "Thanks for waiting. Your refund is on its way." }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({text: 'Thanks for waiting. Your refund is on its way.'})
};
fetch('https://api.chatling.ai/v3/conversations/{conversation}/replies', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.chatling.ai/v3/conversations/{conversation}/replies"
payload := strings.NewReader("{\n \"text\": \"Thanks for waiting. Your refund is on its way.\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
HttpResponse<String> response = Unirest.post("https://api.chatling.ai/v3/conversations/{conversation}/replies")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"text\": \"Thanks for waiting. Your refund is on its way.\"\n}")
.asString();
require 'uri'
require 'net/http'
url = URI("https://api.chatling.ai/v3/conversations/{conversation}/replies")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"text\": \"Thanks for waiting. Your refund is on its way.\"\n}"
response = http.request(request)
puts response.read_body
{
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "The API key is invalid or has been revoked.",
"param": null,
"request_id": "req_8Fq2kLm9TzX4vB7nC1dR5sYw"
}
}
{
"error": {
"type": "permission_error",
"code": "insufficient_permission",
"message": "This API key doesn't have delete access to agents.",
"param": null,
"request_id": "req_8Fq2kLm9TzX4vB7nC1dR5sYw"
}
}
{
"error": {
"type": "not_found_error",
"code": "resource_not_found",
"message": "No conversation with this ID exists, or this API key can't access it.",
"param": null,
"request_id": "req_8Fq2kLm9TzX4vB7nC1dR5sYw"
}
}
{
"error": {
"type": "invalid_request_error",
"code": "conversation_ended",
"message": "This conversation has ended, so it can't take replies or notes.",
"param": null,
"request_id": "req_8Fq2kLm9TzX4vB7nC1dR5sYw"
}
}
A unique key that makes the request safe to retry, such as a V4 UUID. 1 to 255 printable ASCII characters.
Required string length: 1 - 255
Path Parameters
conversation
string
required
ID of the conversation.
Body
application/json
text
string
required
The message text. Leading and trailing spaces are removed. Has the same length limit as a message typed in the inbox.
Minimum string length: 1
author_id
string | null
The account_id of the member who writes the message, from List members. Defaults to the API key's creator (created_by in Retrieve the current API key). The member must be active, have the owner, admin, or agent role, and have access to the AI agent.
Maximum string length: 64
Response
The saved message.
object
any
required
id
string
required
conversation_id
string
required
author
object
required
Who sent the message.
Show child attributes
type
enum<string>
required
buttons, carousel, form, booking, csat_survey, end_chat, email_prompt, contact_card, and action messages have details in data. action messages record what an AI agent's actions did, such as HTTP requests and integrations, and a chatbot's handoffs to the team. Only the team sees them. carousel and contact_card messages come from chatbots. A chatbot's image, video, audio, and document messages include the file's url in data. Other types come from other channels and only have text. Files of any type are in attachments.
Available options:
text,
buttons,
carousel,
form,
booking,
csat_survey,
end_chat,
email_prompt,
action,
contact_card,
attachment,
image,
video,
audio,
document,
sticker,
other
text
string | null
required
The message text, in Markdown. AI replies don't include inline citation markers; their sources are in data. null for messages with only data.
data
object
required
Details of the message, depending on its type. text messages from the agent include their sources. null for other text messages and for an AI agent's media messages.
Option 1
Option 2
Option 3
Option 4
Option 5
Option 6
Option 7
Option 8
Option 9
Option 10
Option 11
Option 12
Option 13
Option 14
Option 15
Option 16
Option 17
Option 18
Show child attributes
attachments
object[]
required
Files sent with the message, in order. A caption is the message's text.
Show child attributes
is_note
boolean
required
Whether the message is an internal note, which the user never sees.
sent_by_website
boolean
required
Whether the website sent this user message with window.Chatling.sendMessage(), rather than the user typing it.
is_hidden
boolean
required
Whether the website sent this message with hidden: true. The AI agent receives hidden messages, but the user never sees them.
rating
enum<string> | null
required
The rating of an AI-written answer, given by the user in the widget or set with Update a message. Always null for other messages.
Available options:
positive,
negative,
null
created_at
string<date-time> | null
required
delivery_error
object | null
required
Set if the channel, such as WhatsApp, rejected the reply. The reply is saved and shown as failed in the inbox. Always null for notes.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Chatling Documentation","colors":{"primary":"#0D9373","light":"#07C983","dark":"#0D9373"},"logo":{"light":"https://mintcdn.com/chatling-21192973/28-2rxbvH5ywRTMu/logo/chatling-logo.svg?fit=max\u0026auto=format\u0026n=28-2rxbvH5ywRTMu\u0026q=85\u0026s=b2dff50e5e554f9a1821ad6c4e86b8cd","dark":"https://mintcdn.com/chatling-21192973/28-2rxbvH5ywRTMu/logo/chatling-logo-white.svg?fit=max\u0026auto=format\u0026n=28-2rxbvH5ywRTMu\u0026q=85\u0026s=7139297f08e04dea3d5f04e8ff00e18b"},"favicon":"https://mintcdn.com/chatling-21192973/28-2rxbvH5ywRTMu/favicon.svg?fit=max\u0026auto=format\u0026n=28-2rxbvH5ywRTMu\u0026q=85\u0026s=f0289a5a055de1338da1c4cd5d297893","api":{"playground":{"display":"simple"},"mdx":{"auth":{"method":"bearer"},"server":"https://api.chatling.ai/v3"}},"navbar":{"links":[{"href":"https://app.chatling.ai","label":"Dashboard"}]},"footer":{"socials":{"x":"https://twitter.com/chatlingai","linkedin":"https://www.linkedin.com/company/chatlingai"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"chatling-21192973","hasAudioNarration":false,"actualSubdomain":"chatling-21192973","customDomains":["docs.chatling.ai"],"gitSource":{"type":"github","owner":"ahm750","repo":"documentation","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b0cf4ae9508b2d5f2b65fff","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"default","tag":"Documentation","count":160},{"language":"default","tag":"API Reference","count":92},{"language":"default","tag":"Reference","count":87},{"language":"default","tag":"Chatbot","count":60},{"language":"default","tag":"Builder","count":50},{"language":"default","tag":"Blocks","count":35},{"language":"default","tag":"AI Agent","count":23},{"language":"default","tag":"Web Widget","count":23},{"language":"default","tag":"Conversations","count":15},{"language":"default","tag":"Live Chat","count":13}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/v3/conversations/send-reply","slug":"/api-reference/v3/conversations/send-reply","pageMetadata":{"title":"Send a reply","description":"Sends a reply from a team member to the user on the conversation's channel. The agent doesn't reply to it, and no AI credits are used.\n\nAs in the inbox, a conversation in `ai` mode switches to `live` so the AI agent stops replying, an unassigned conversation is assigned to the author, and a resolved or closed conversation reopens. These changes show as made by `API key \"\u003ckey name>\"`.\n\nOn WhatsApp, Instagram, and Messenger, you can only reply while the reply window is open (see the conversation's `reply_window`). If the channel rejects the reply, it's still saved and `delivery_error` is set. Replies support text only.","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /conversations/{conversation}/replies","href":"/api-reference/v3/conversations/send-reply","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Sends a reply from a team member to the user on the conversation’s channel. The agent doesn’t reply to it, and no AI credits are used.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"As in the inbox, a conversation in \", _jsx(_components.code, {\n children: \"ai\"\n }), \" mode switches to \", _jsx(_components.code, {\n children: \"live\"\n }), \" so the AI agent stops replying, an unassigned conversation is assigned to the author, and a resolved or closed conversation reopens. These changes show as made by \", _jsx(_components.code, {\n children: \"API key \\\"\u003ckey name>\\\"\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"On WhatsApp, Instagram, and Messenger, you can only reply while the reply window is open (see the conversation’s \", _jsx(_components.code, {\n children: \"reply_window\"\n }), \"). If the channel rejects the reply, it’s still saved and \", _jsx(_components.code, {\n children: \"delivery_error\"\n }), \" is set. Replies support text only.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Send a reply","description":"Sends a reply from a team member to the user on the conversation's channel. The agent doesn't reply to it, and no AI credits are used.\n\nAs in the inbox, a conversation in `ai` mode switches to `live` so the AI agent stops replying, an unassigned conversation is assigned to the author, and a resolved or closed conversation reopens. These changes show as made by `API key \"\u003ckey name>\"`.\n\nOn WhatsApp, Instagram, and Messenger, you can only reply while the reply window is open (see the conversation's `reply_window`). If the channel rejects the reply, it's still saved and `delivery_error` is set. Replies support text only.","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /conversations/{conversation}/replies","href":"/api-reference/v3/conversations/send-reply","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"sendReply","tags":["Conversations"],"summary":"Send a reply","description":"Sends a reply from a team member to the user on the conversation's channel. The agent doesn't reply to it, and no AI credits are used.\n\nAs in the inbox, a conversation in `ai` mode switches to `live` so the AI agent stops replying, an unassigned conversation is assigned to the author, and a resolved or closed conversation reopens. These changes show as made by `API key \"\u003ckey name>\"`.\n\nOn WhatsApp, Instagram, and Messenger, you can only reply while the reply window is open (see the conversation's `reply_window`). If the channel rejects the reply, it's still saved and `delivery_error` is set. Replies support text only.","x-chatling-permission":{"group":"conversations","access":"create"},"x-chatling-project-wide":false,"x-chatling-agent-types":["ai_agent","chatbot"],"parameters":["7c555fbb-8d5f-417e-a4ec-af133abb54ee"],"requestBody":"259c8c07-c3e1-405f-ac3c-442679a9e5d2","responses":{"201":"0d2d85b1-84ec-462c-acec-c927060fe197","400":"4ca58117-51e1-4d89-a1c1-351b8f732fb6","401":"f0da91a9-8ade-4292-926c-52d971e30812","403":"5e0f6e5a-146e-41e0-8fb9-270ce40752c7","404":"705dfa7e-23c2-46a5-b232-a2815f79a0d5","409":"127e5ad0-e04f-4102-a3d7-4b8c81207b05","422":"2cd3b321-9033-4472-8e97-01560b03d94e","429":"c946ae42-2ce6-4e4b-99f4-909dd31f837c","503":"d17f2f76-5ed5-4eab-802d-b2993f163592"},"method":"post","type":"path","servers":["16086fde-3c32-456e-b395-21dafcd77092"],"security":["8529c987-60c7-4138-9cff-c6fa1c1f2729"],"path":"/conversations/{conversation}/replies","baseUrlOptions":["https://api.chatling.ai/v3"],"title":"Send a reply","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"7c555fbb-8d5f-417e-a4ec-af133abb54ee":{"name":"Idempotency-Key","in":"header","description":"A unique key that makes the request safe to retry, such as a V4 UUID. 1 to 255 printable ASCII characters.","schema":{"type":"string","minLength":1,"maxLength":255,"description":"A unique key that makes the request safe to retry, such as a V4 UUID. 1 to 255 printable ASCII characters.","uniqueKey":"","typeLabel":"string"}},"ce662588-1d92-49e1-9a03-a2b24d227a3c":{"name":"conversation","in":"path","required":true,"description":"ID of the conversation.","schema":{"type":"string","isRequired":true,"description":"ID of the conversation.","uniqueKey":"","typeLabel":"string"},"example":"5f0c1c2e-6c1d-4a8f-9a59-0d4c4f1b2a10"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["text"],"properties":{"text":{"type":"string","minLength":1,"description":"The message text. Leading and trailing spaces are removed. Has the same length limit as a message typed in the inbox.","isRequired":true,"uniqueKey":"text","typeLabel":"string"},"author_id":{"oneOf":[{"type":"string","maxLength":64,"description":"The `account_id` of the member who writes the message, from [List members](/api-reference/v3/members/list-members). Defaults to the API key's creator (`created_by` in [Retrieve the current API key](/api-reference/v3/api-key/get-current-api-key)). The member must be active, have the owner, admin, or agent role, and have access to the AI agent.","uniqueKey":"author_id.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":64,"description":"The `account_id` of the member who writes the message, from [List members](/api-reference/v3/members/list-members). Defaults to the API key's creator (`created_by` in [Retrieve the current API key](/api-reference/v3/api-key/get-current-api-key)). The member must be active, have the owner, admin, or agent role, and have access to the AI agent.","uniqueKey":"author_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"author_id","typeLabel":"string | null"}},"uniqueKey":"","typeLabel":"object"},"example":{"text":"Thanks for waiting. Your refund is on its way."},"examples":{"Example":{"title":"Example","value":{"text":"Thanks for waiting. Your refund is on its way."}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"0d2d85b1-84ec-462c-acec-c927060fe197":{"description":"The saved message.","headers":{"Idempotent-Replayed":{"description":"`true` if this is the saved response of an earlier request with the same `Idempotency-Key`.","schema":{"type":"string","enum":["true"]}}},"content":{"application/json":{"schema":{"type":"object","required":["delivery_error","object","id","conversation_id","author","type","text","data","attachments","is_note","sent_by_website","is_hidden","rating","created_at"],"properties":{"object":{"const":"message","isRequired":true,"uniqueKey":"object","typeLabel":"any"},"id":{"type":"string","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"conversation_id":{"type":"string","isRequired":true,"uniqueKey":"conversation_id","typeLabel":"string"},"author":{"type":"object","required":["type","id","name"],"properties":{"type":{"type":"string","enum":["user","assistant","human_agent","system"],"description":"`user` is the person chatting with the agent. `assistant` is the AI agent or chatbot, including intro, workflow, and flow messages. `human_agent` is a team member.","isRequired":true,"uniqueKey":"author.type","typeLabel":"enum\u003cstring>"},"id":{"oneOf":[{"type":"string","description":"The conversation's `user_id` for `user`, its `agent.id` for `assistant`, and the team member's `account_id` for `human_agent`. `null` for `system`, for users in conversations without a `user_id`, and for team members whose account was deleted. `name` still shows the name the message was sent with.","isRequired":true,"uniqueKey":"author.id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The conversation's `user_id` for `user`, its `agent.id` for `assistant`, and the team member's `account_id` for `human_agent`. `null` for `system`, for users in conversations without a `user_id`, and for team members whose account was deleted. `name` still shows the name the message was sent with.","isRequired":true,"uniqueKey":"author.id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"author.id","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"The contact's or team member's name. For `assistant`, the agent's name from the widget settings, in the conversation's language. `null` for `system`, and for users without a contact or name.","isRequired":true,"uniqueKey":"author.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The contact's or team member's name. For `assistant`, the agent's name from the widget settings, in the conversation's language. `null` for `system`, and for users without a contact or name.","isRequired":true,"uniqueKey":"author.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"author.name","typeLabel":"string | null"}},"description":"Who sent the message.","isRequired":true,"uniqueKey":"author","typeLabel":"object"},"type":{"type":"string","enum":["text","buttons","carousel","form","booking","csat_survey","end_chat","email_prompt","action","contact_card","attachment","image","video","audio","document","sticker","other"],"description":"`buttons`, `carousel`, `form`, `booking`, `csat_survey`, `end_chat`, `email_prompt`, `contact_card`, and `action` messages have details in `data`. `action` messages record what an AI agent's actions did, such as HTTP requests and integrations, and a chatbot's handoffs to the team. Only the team sees them. `carousel` and `contact_card` messages come from chatbots. A chatbot's `image`, `video`, `audio`, and `document` messages include the file's `url` in `data`. Other types come from other channels and only have `text`. Files of any type are in `attachments`.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"text":{"oneOf":[{"type":"string","description":"The message text, in Markdown. AI replies don't include inline citation markers; their sources are in `data`. `null` for messages with only `data`.","isRequired":true,"uniqueKey":"text.oneOf.0","typeLabel":"string"},{"type":"null","description":"The message text, in Markdown. AI replies don't include inline citation markers; their sources are in `data`. `null` for messages with only `data`.","isRequired":true,"uniqueKey":"text.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"text","typeLabel":"string | null"},"data":{"oneOf":[{"type":"object","description":"Details of the message, depending on its `type`. `text` messages from the agent include their `sources`. `null` for other `text` messages and for an AI agent's media messages.","required":["sources"],"properties":{"sources":{"type":"array","maxItems":5,"items":{"type":"object","required":["type","title","url"],"properties":{"type":{"oneOf":[{"type":"string","enum":["webpage","document_url","document",null],"isRequired":true,"uniqueKey":"data.oneOf.0.sources.items.[INDEX].type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["webpage","document_url","document",null],"isRequired":true,"uniqueKey":"data.oneOf.0.sources.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.sources.items.[INDEX].type","typeLabel":"enum\u003cstring> | null"},"title":{"oneOf":[{"type":"string","description":"The page title, or a document's file name.","isRequired":true,"uniqueKey":"data.oneOf.0.sources.items.[INDEX].title.oneOf.0","typeLabel":"string"},{"type":"null","description":"The page title, or a document's file name.","isRequired":true,"uniqueKey":"data.oneOf.0.sources.items.[INDEX].title.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.sources.items.[INDEX].title","typeLabel":"string | null"},"url":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.0.sources.items.[INDEX].url.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.0.sources.items.[INDEX].url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.sources.items.[INDEX].url","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.sources.items.[INDEX]","typeLabel":"object"},"description":"The knowledge base sources the AI used for this reply.","isRequired":true,"uniqueKey":"data.oneOf.0.sources","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"object","description":"Details of the message, depending on its `type`. `text` messages from the agent include their `sources`. `null` for other `text` messages and for an AI agent's media messages.","required":["buttons","selected_button_id"],"properties":{"buttons":{"type":"array","items":{"type":"object","required":["id","label","url","message"],"properties":{"id":{"type":"string","description":"Chatbot link buttons don't have IDs, so they're numbered from `1`.","isRequired":true,"uniqueKey":"data.oneOf.1.buttons.items.[INDEX].id","typeLabel":"string"},"label":{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.1.buttons.items.[INDEX].label","typeLabel":"string"},"url":{"oneOf":[{"type":"string","description":"Set for link buttons, which open the URL instead of sending a message.","isRequired":true,"uniqueKey":"data.oneOf.1.buttons.items.[INDEX].url.oneOf.0","typeLabel":"string"},{"type":"null","description":"Set for link buttons, which open the URL instead of sending a message.","isRequired":true,"uniqueKey":"data.oneOf.1.buttons.items.[INDEX].url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.buttons.items.[INDEX].url","typeLabel":"string | null"},"message":{"oneOf":[{"type":"string","description":"Set for reply buttons: the text the widget sends as a user message when the button is chosen. To choose the button through the API in an AI agent's conversation, send this text with [Send a user message](/api-reference/v3/conversations/send-user-message).","isRequired":true,"uniqueKey":"data.oneOf.1.buttons.items.[INDEX].message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Set for reply buttons: the text the widget sends as a user message when the button is chosen. To choose the button through the API in an AI agent's conversation, send this text with [Send a user message](/api-reference/v3/conversations/send-user-message).","isRequired":true,"uniqueKey":"data.oneOf.1.buttons.items.[INDEX].message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.buttons.items.[INDEX].message","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.1.buttons.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.oneOf.1.buttons","typeLabel":"object[]"},"selected_button_id":{"oneOf":[{"type":"string","description":"The reply button the user chose in the widget.","isRequired":true,"uniqueKey":"data.oneOf.1.selected_button_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The reply button the user chose in the widget.","isRequired":true,"uniqueKey":"data.oneOf.1.selected_button_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.selected_button_id","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.oneOf.1","typeLabel":"object"},{"type":"object","description":"Details of the message, depending on its `type`. `text` messages from the agent include their `sources`. `null` for other `text` messages and for an AI agent's media messages.","required":["kind","status","fields"],"properties":{"kind":{"type":"string","enum":["lead","custom"],"description":"`lead` saves the answers to the user's contact, and its field IDs are contact fields such as `email`. `custom` saves them to the AI agent's variables. Chatbot forms are always `custom`.","isRequired":true,"uniqueKey":"data.oneOf.2.kind","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["pending","submitted","dismissed"],"isRequired":true,"uniqueKey":"data.oneOf.2.status","typeLabel":"enum\u003cstring>"},"fields":{"type":"array","items":{"type":"object","required":["id","type","label","required","options","value"],"properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.2.fields.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","description":"Lead forms use `text`, `email`, `phone`, and `url`. Other forms can also use `textarea`, `number`, `date`, `checkbox`, `dropdown`, and `multiple_choice`, and chatbot forms can use `integer`.","isRequired":true,"uniqueKey":"data.oneOf.2.fields.items.[INDEX].type","typeLabel":"string"},"label":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.2.fields.items.[INDEX].label.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.2.fields.items.[INDEX].label.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.fields.items.[INDEX].label","typeLabel":"string | null"},"required":{"type":"boolean","isRequired":true,"uniqueKey":"data.oneOf.2.fields.items.[INDEX].required","typeLabel":"boolean"},"options":{"oneOf":[{"type":"array","items":{"type":"object","required":["id","label"],"properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.2.fields.items.[INDEX].options.oneOf.0.items.[INDEX].id","typeLabel":"string"},"label":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.2.fields.items.[INDEX].options.oneOf.0.items.[INDEX].label.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.2.fields.items.[INDEX].options.oneOf.0.items.[INDEX].label.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.fields.items.[INDEX].options.oneOf.0.items.[INDEX].label","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.2.fields.items.[INDEX].options.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"The choices of a `dropdown` or `multiple_choice` field.","isRequired":true,"uniqueKey":"data.oneOf.2.fields.items.[INDEX].options.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","required":["id","label"],"properties":{"id":{"type":"string"},"label":{"oneOf":[{"type":"string"},{"type":"null"}]}}},"description":"The choices of a `dropdown` or `multiple_choice` field.","isRequired":true,"uniqueKey":"data.oneOf.2.fields.items.[INDEX].options.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.fields.items.[INDEX].options","typeLabel":"object[] | null"},"value":{"oneOf":[{"type":"string","items":{"type":"string"},"description":"The user's answer, or `null` if they left it empty or haven't submitted the form. `dropdown` answers are an option ID, `multiple_choice` answers an array of option IDs, `checkbox` answers a boolean, and all others a string.","isRequired":true,"uniqueKey":"data.oneOf.2.fields.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"boolean","items":{"type":"string"},"description":"The user's answer, or `null` if they left it empty or haven't submitted the form. `dropdown` answers are an option ID, `multiple_choice` answers an array of option IDs, `checkbox` answers a boolean, and all others a string.","isRequired":true,"uniqueKey":"data.oneOf.2.fields.items.[INDEX].value.oneOf.1","typeLabel":"boolean"},{"type":"array","items":{"type":"string","uniqueKey":"data.oneOf.2.fields.items.[INDEX].value.oneOf.2.items.[INDEX]","typeLabel":"string"},"description":"The user's answer, or `null` if they left it empty or haven't submitted the form. `dropdown` answers are an option ID, `multiple_choice` answers an array of option IDs, `checkbox` answers a boolean, and all others a string.","isRequired":true,"uniqueKey":"data.oneOf.2.fields.items.[INDEX].value.oneOf.2","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"The user's answer, or `null` if they left it empty or haven't submitted the form. `dropdown` answers are an option ID, `multiple_choice` answers an array of option IDs, `checkbox` answers a boolean, and all others a string.","isRequired":true,"uniqueKey":"data.oneOf.2.fields.items.[INDEX].value.oneOf.3","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.fields.items.[INDEX].value","typeLabel":"string | boolean | string[] | null"}},"uniqueKey":"data.oneOf.2.fields.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.oneOf.2.fields","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"data.oneOf.2","typeLabel":"object"},{"type":"object","description":"Details of the message, depending on its `type`. `text` messages from the agent include their `sources`. `null` for other `text` messages and for an AI agent's media messages.","required":["provider","status","title","starts_at","ends_at"],"properties":{"provider":{"type":"string","enum":["cal_com","calendly","google_calendar"],"isRequired":true,"uniqueKey":"data.oneOf.3.provider","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["pending","booked","failed"],"isRequired":true,"uniqueKey":"data.oneOf.3.status","typeLabel":"enum\u003cstring>"},"title":{"oneOf":[{"type":"string","description":"The meeting title, if the provider returns one.","isRequired":true,"uniqueKey":"data.oneOf.3.title.oneOf.0","typeLabel":"string"},{"type":"null","description":"The meeting title, if the provider returns one.","isRequired":true,"uniqueKey":"data.oneOf.3.title.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.title","typeLabel":"string | null"},"starts_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.oneOf.3.starts_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"data.oneOf.3.starts_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.starts_at","typeLabel":"string\u003cdate-time> | null"},"ends_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.oneOf.3.ends_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"data.oneOf.3.ends_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.ends_at","typeLabel":"string\u003cdate-time> | null"}},"isRequired":true,"uniqueKey":"data.oneOf.3","typeLabel":"object"},{"type":"object","description":"Details of the message, depending on its `type`. `text` messages from the agent include their `sources`. `null` for other `text` messages and for an AI agent's media messages.","required":["rating","max_rating","scale","reasons","resolved","feedback"],"properties":{"rating":{"oneOf":[{"type":"integer","isRequired":true,"uniqueKey":"data.oneOf.4.rating.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.4.rating.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.rating","typeLabel":"integer | null"},"max_rating":{"oneOf":[{"type":"integer","isRequired":true,"uniqueKey":"data.oneOf.4.max_rating.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.4.max_rating.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.max_rating","typeLabel":"integer | null"},"scale":{"oneOf":[{"type":"string","enum":["numeric","emoji",null],"isRequired":true,"uniqueKey":"data.oneOf.4.scale.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["numeric","emoji",null],"isRequired":true,"uniqueKey":"data.oneOf.4.scale.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.scale","typeLabel":"enum\u003cstring> | null"},"reasons":{"type":"array","items":{"type":"string","uniqueKey":"data.oneOf.4.reasons.items.[INDEX]","typeLabel":"string"},"description":"The reasons the user picked for their rating.","isRequired":true,"uniqueKey":"data.oneOf.4.reasons","typeLabel":"string[]"},"resolved":{"oneOf":[{"type":"string","description":"The user's answer to whether their issue was resolved, as shown in the survey.","isRequired":true,"uniqueKey":"data.oneOf.4.resolved.oneOf.0","typeLabel":"string"},{"type":"null","description":"The user's answer to whether their issue was resolved, as shown in the survey.","isRequired":true,"uniqueKey":"data.oneOf.4.resolved.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.resolved","typeLabel":"string | null"},"feedback":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.4.feedback.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.4.feedback.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.feedback","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.oneOf.4","typeLabel":"object"},{"type":"object","description":"Details of the message, depending on its `type`. `text` messages from the agent include their `sources`. `null` for other `text` messages and for an AI agent's media messages.","required":["ended_by"],"properties":{"ended_by":{"oneOf":[{"type":"string","enum":["user","system","assistant",null],"description":"`assistant` if a chatbot's flow ended the chat.","isRequired":true,"uniqueKey":"data.oneOf.5.ended_by.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["user","system","assistant",null],"description":"`assistant` if a chatbot's flow ended the chat.","isRequired":true,"uniqueKey":"data.oneOf.5.ended_by.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.5.ended_by","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"data.oneOf.5","typeLabel":"object"},{"type":"object","description":"Details of the message, depending on its `type`. `text` messages from the agent include their `sources`. `null` for other `text` messages and for an AI agent's media messages.","required":["status","email","required"],"properties":{"status":{"type":"string","enum":["pending","submitted","dismissed"],"isRequired":true,"uniqueKey":"data.oneOf.6.status","typeLabel":"enum\u003cstring>"},"email":{"oneOf":[{"type":"string","description":"The address the user entered.","isRequired":true,"uniqueKey":"data.oneOf.6.email.oneOf.0","typeLabel":"string"},{"type":"null","description":"The address the user entered.","isRequired":true,"uniqueKey":"data.oneOf.6.email.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.6.email","typeLabel":"string | null"},"required":{"type":"boolean","description":"Whether the user had to answer before continuing.","isRequired":true,"uniqueKey":"data.oneOf.6.required","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"data.oneOf.6","typeLabel":"object"},{"type":"object","description":"Details of the message, depending on its `type`. `text` messages from the agent include their `sources`. `null` for other `text` messages and for an AI agent's media messages.","required":["action","status","error","requests"],"properties":{"action":{"type":"string","const":"http_request","isRequired":true,"uniqueKey":"data.oneOf.7.action","typeLabel":"string"},"status":{"type":"string","enum":["succeeded","failed"],"isRequired":true,"uniqueKey":"data.oneOf.7.status","typeLabel":"enum\u003cstring>"},"error":{"oneOf":[{"type":"string","description":"Why the action failed, or `null` if it succeeded.","isRequired":true,"uniqueKey":"data.oneOf.7.error.oneOf.0","typeLabel":"string"},{"type":"null","description":"Why the action failed, or `null` if it succeeded.","isRequired":true,"uniqueKey":"data.oneOf.7.error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.7.error","typeLabel":"string | null"},"requests":{"type":"array","maxItems":5,"items":{"type":"object","required":["method","url","status_code","body","body_truncated"],"properties":{"method":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.7.requests.items.[INDEX].method.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.7.requests.items.[INDEX].method.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.7.requests.items.[INDEX].method","typeLabel":"string | null"},"url":{"oneOf":[{"type":"string","description":"The URL requested. Query values, user info, and the fragment are replaced with `REDACTED` because they can contain credentials. The host, path, and parameter names are kept.","isRequired":true,"uniqueKey":"data.oneOf.7.requests.items.[INDEX].url.oneOf.0","typeLabel":"string"},{"type":"null","description":"The URL requested. Query values, user info, and the fragment are replaced with `REDACTED` because they can contain credentials. The host, path, and parameter names are kept.","isRequired":true,"uniqueKey":"data.oneOf.7.requests.items.[INDEX].url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.7.requests.items.[INDEX].url","typeLabel":"string | null"},"status_code":{"oneOf":[{"type":"integer","isRequired":true,"uniqueKey":"data.oneOf.7.requests.items.[INDEX].status_code.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.7.requests.items.[INDEX].status_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.7.requests.items.[INDEX].status_code","typeLabel":"integer | null"},"body":{"description":"The JSON response, up to 20 KB. `null` if the request failed without a JSON response or the response exceeded the limit.","isRequired":true,"uniqueKey":"data.oneOf.7.requests.items.[INDEX].body","typeLabel":"any"},"body_truncated":{"type":"boolean","description":"Whether the response exceeded 20 KB, in which case `body` is `null`.","isRequired":true,"uniqueKey":"data.oneOf.7.requests.items.[INDEX].body_truncated","typeLabel":"boolean"}},"uniqueKey":"data.oneOf.7.requests.items.[INDEX]","typeLabel":"object"},"description":"The requests made, in order.","isRequired":true,"uniqueKey":"data.oneOf.7.requests","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"data.oneOf.7","typeLabel":"object"},{"type":"object","description":"Details of the message, depending on its `type`. `text` messages from the agent include their `sources`. `null` for other `text` messages and for an AI agent's media messages.","required":["action","status","error","email"],"properties":{"action":{"type":"string","const":"send_email","isRequired":true,"uniqueKey":"data.oneOf.8.action","typeLabel":"string"},"status":{"type":"string","enum":["succeeded","failed"],"isRequired":true,"uniqueKey":"data.oneOf.8.status","typeLabel":"enum\u003cstring>"},"error":{"oneOf":[{"type":"string","description":"Why the action failed, or `null` if it succeeded.","isRequired":true,"uniqueKey":"data.oneOf.8.error.oneOf.0","typeLabel":"string"},{"type":"null","description":"Why the action failed, or `null` if it succeeded.","isRequired":true,"uniqueKey":"data.oneOf.8.error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.8.error","typeLabel":"string | null"},"email":{"type":"object","required":["sender_name","sender_email","to","cc","reply_to","subject","body_html"],"properties":{"sender_name":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.8.email.sender_name.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.8.email.sender_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.8.email.sender_name","typeLabel":"string | null"},"sender_email":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.8.email.sender_email.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.8.email.sender_email.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.8.email.sender_email","typeLabel":"string | null"},"to":{"type":"array","items":{"type":"string","uniqueKey":"data.oneOf.8.email.to.items.[INDEX]","typeLabel":"string"},"description":"Recipient email addresses.","isRequired":true,"uniqueKey":"data.oneOf.8.email.to","typeLabel":"string[]"},"cc":{"type":"array","items":{"type":"string","uniqueKey":"data.oneOf.8.email.cc.items.[INDEX]","typeLabel":"string"},"description":"CC email addresses.","isRequired":true,"uniqueKey":"data.oneOf.8.email.cc","typeLabel":"string[]"},"reply_to":{"type":"array","items":{"type":"string","uniqueKey":"data.oneOf.8.email.reply_to.items.[INDEX]","typeLabel":"string"},"description":"Reply-to email addresses.","isRequired":true,"uniqueKey":"data.oneOf.8.email.reply_to","typeLabel":"string[]"},"subject":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.8.email.subject.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.8.email.subject.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.8.email.subject","typeLabel":"string | null"},"body_html":{"oneOf":[{"type":"string","description":"The body as HTML.","isRequired":true,"uniqueKey":"data.oneOf.8.email.body_html.oneOf.0","typeLabel":"string"},{"type":"null","description":"The body as HTML.","isRequired":true,"uniqueKey":"data.oneOf.8.email.body_html.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.8.email.body_html","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.oneOf.8.email","typeLabel":"object"}},"isRequired":true,"uniqueKey":"data.oneOf.8","typeLabel":"object"},{"type":"object","description":"Details of the message, depending on its `type`. `text` messages from the agent include their `sources`. `null` for other `text` messages and for an AI agent's media messages.","required":["action","status","error","summary","priority","sentiment"],"properties":{"action":{"type":"string","const":"human_handoff","isRequired":true,"uniqueKey":"data.oneOf.9.action","typeLabel":"string"},"status":{"type":"string","enum":["succeeded","failed"],"isRequired":true,"uniqueKey":"data.oneOf.9.status","typeLabel":"enum\u003cstring>"},"error":{"oneOf":[{"type":"string","description":"Why the action failed, or `null` if it succeeded.","isRequired":true,"uniqueKey":"data.oneOf.9.error.oneOf.0","typeLabel":"string"},{"type":"null","description":"Why the action failed, or `null` if it succeeded.","isRequired":true,"uniqueKey":"data.oneOf.9.error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.9.error","typeLabel":"string | null"},"summary":{"oneOf":[{"type":"string","description":"The AI's summary of the conversation for the team.","isRequired":true,"uniqueKey":"data.oneOf.9.summary.oneOf.0","typeLabel":"string"},{"type":"null","description":"The AI's summary of the conversation for the team.","isRequired":true,"uniqueKey":"data.oneOf.9.summary.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.9.summary","typeLabel":"string | null"},"priority":{"oneOf":[{"type":"string","enum":["low","medium","high","urgent",null],"isRequired":true,"uniqueKey":"data.oneOf.9.priority.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["low","medium","high","urgent",null],"isRequired":true,"uniqueKey":"data.oneOf.9.priority.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.9.priority","typeLabel":"enum\u003cstring> | null"},"sentiment":{"oneOf":[{"type":"string","enum":["neutral","positive","negative",null],"description":"The user's sentiment at the handoff.","isRequired":true,"uniqueKey":"data.oneOf.9.sentiment.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["neutral","positive","negative",null],"description":"The user's sentiment at the handoff.","isRequired":true,"uniqueKey":"data.oneOf.9.sentiment.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.9.sentiment","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"data.oneOf.9","typeLabel":"object"},{"type":"object","description":"Details of the message, depending on its `type`. `text` messages from the agent include their `sources`. `null` for other `text` messages and for an AI agent's media messages.","required":["action","status","error","ticket"],"properties":{"action":{"type":"string","const":"zendesk_create_ticket","isRequired":true,"uniqueKey":"data.oneOf.10.action","typeLabel":"string"},"status":{"type":"string","enum":["succeeded","failed"],"isRequired":true,"uniqueKey":"data.oneOf.10.status","typeLabel":"enum\u003cstring>"},"error":{"oneOf":[{"type":"string","description":"Why the action failed, or `null` if it succeeded.","isRequired":true,"uniqueKey":"data.oneOf.10.error.oneOf.0","typeLabel":"string"},{"type":"null","description":"Why the action failed, or `null` if it succeeded.","isRequired":true,"uniqueKey":"data.oneOf.10.error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.10.error","typeLabel":"string | null"},"ticket":{"type":"object","required":["id","subject","description_html","requester_name","requester_email","priority","type","status","tags","group_id","assignee_email","custom_fields"],"properties":{"id":{"oneOf":[{"type":"string","description":"The Zendesk ticket ID, or `null` if the ticket wasn't created.","isRequired":true,"uniqueKey":"data.oneOf.10.ticket.id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The Zendesk ticket ID, or `null` if the ticket wasn't created.","isRequired":true,"uniqueKey":"data.oneOf.10.ticket.id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.10.ticket.id","typeLabel":"string | null"},"subject":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.10.ticket.subject.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.10.ticket.subject.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.10.ticket.subject","typeLabel":"string | null"},"description_html":{"oneOf":[{"type":"string","description":"The description as HTML.","isRequired":true,"uniqueKey":"data.oneOf.10.ticket.description_html.oneOf.0","typeLabel":"string"},{"type":"null","description":"The description as HTML.","isRequired":true,"uniqueKey":"data.oneOf.10.ticket.description_html.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.10.ticket.description_html","typeLabel":"string | null"},"requester_name":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.10.ticket.requester_name.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.10.ticket.requester_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.10.ticket.requester_name","typeLabel":"string | null"},"requester_email":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.10.ticket.requester_email.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.10.ticket.requester_email.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.10.ticket.requester_email","typeLabel":"string | null"},"priority":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.10.ticket.priority.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.10.ticket.priority.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.10.ticket.priority","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.10.ticket.type.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.10.ticket.type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.10.ticket.type","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.10.ticket.status.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.10.ticket.status.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.10.ticket.status","typeLabel":"string | null"},"tags":{"oneOf":[{"type":"string","description":"As configured, for example comma-separated.","isRequired":true,"uniqueKey":"data.oneOf.10.ticket.tags.oneOf.0","typeLabel":"string"},{"type":"null","description":"As configured, for example comma-separated.","isRequired":true,"uniqueKey":"data.oneOf.10.ticket.tags.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.10.ticket.tags","typeLabel":"string | null"},"group_id":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.10.ticket.group_id.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.10.ticket.group_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.10.ticket.group_id","typeLabel":"string | null"},"assignee_email":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.10.ticket.assignee_email.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.10.ticket.assignee_email.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.10.ticket.assignee_email","typeLabel":"string | null"},"custom_fields":{"oneOf":[{"type":"string","description":"As configured.","isRequired":true,"uniqueKey":"data.oneOf.10.ticket.custom_fields.oneOf.0","typeLabel":"string"},{"type":"null","description":"As configured.","isRequired":true,"uniqueKey":"data.oneOf.10.ticket.custom_fields.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.10.ticket.custom_fields","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.oneOf.10.ticket","typeLabel":"object"}},"isRequired":true,"uniqueKey":"data.oneOf.10","typeLabel":"object"},{"type":"object","description":"Details of the message, depending on its `type`. `text` messages from the agent include their `sources`. `null` for other `text` messages and for an AI agent's media messages.","required":["action","status","error","user"],"properties":{"action":{"type":"string","const":"zendesk_create_user","isRequired":true,"uniqueKey":"data.oneOf.11.action","typeLabel":"string"},"status":{"type":"string","enum":["succeeded","failed"],"isRequired":true,"uniqueKey":"data.oneOf.11.status","typeLabel":"enum\u003cstring>"},"error":{"oneOf":[{"type":"string","description":"Why the action failed, or `null` if it succeeded.","isRequired":true,"uniqueKey":"data.oneOf.11.error.oneOf.0","typeLabel":"string"},{"type":"null","description":"Why the action failed, or `null` if it succeeded.","isRequired":true,"uniqueKey":"data.oneOf.11.error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.11.error","typeLabel":"string | null"},"user":{"type":"object","required":["id","name","email","phone","role","external_id","notes","details","tags","organization_id","custom_fields","verified"],"properties":{"id":{"oneOf":[{"type":"string","description":"The Zendesk user ID, or `null` if the user wasn't created.","isRequired":true,"uniqueKey":"data.oneOf.11.user.id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The Zendesk user ID, or `null` if the user wasn't created.","isRequired":true,"uniqueKey":"data.oneOf.11.user.id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.11.user.id","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.11.user.name.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.11.user.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.11.user.name","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.11.user.email.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.11.user.email.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.11.user.email","typeLabel":"string | null"},"phone":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.11.user.phone.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.11.user.phone.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.11.user.phone","typeLabel":"string | null"},"role":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.11.user.role.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.11.user.role.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.11.user.role","typeLabel":"string | null"},"external_id":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.11.user.external_id.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.11.user.external_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.11.user.external_id","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.11.user.notes.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.11.user.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.11.user.notes","typeLabel":"string | null"},"details":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.11.user.details.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.11.user.details.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.11.user.details","typeLabel":"string | null"},"tags":{"oneOf":[{"type":"string","description":"As configured, for example comma-separated.","isRequired":true,"uniqueKey":"data.oneOf.11.user.tags.oneOf.0","typeLabel":"string"},{"type":"null","description":"As configured, for example comma-separated.","isRequired":true,"uniqueKey":"data.oneOf.11.user.tags.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.11.user.tags","typeLabel":"string | null"},"organization_id":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.11.user.organization_id.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.11.user.organization_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.11.user.organization_id","typeLabel":"string | null"},"custom_fields":{"oneOf":[{"type":"string","description":"As configured.","isRequired":true,"uniqueKey":"data.oneOf.11.user.custom_fields.oneOf.0","typeLabel":"string"},{"type":"null","description":"As configured.","isRequired":true,"uniqueKey":"data.oneOf.11.user.custom_fields.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.11.user.custom_fields","typeLabel":"string | null"},"verified":{"oneOf":[{"type":"boolean","isRequired":true,"uniqueKey":"data.oneOf.11.user.verified.oneOf.0","typeLabel":"boolean"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.11.user.verified.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.11.user.verified","typeLabel":"boolean | null"}},"isRequired":true,"uniqueKey":"data.oneOf.11.user","typeLabel":"object"}},"isRequired":true,"uniqueKey":"data.oneOf.11","typeLabel":"object"},{"type":"object","description":"Details of the message, depending on its `type`. `text` messages from the agent include their `sources`. `null` for other `text` messages and for an AI agent's media messages.","required":["action","status","error","operation","row_count"],"properties":{"action":{"type":"string","const":"google_sheets","isRequired":true,"uniqueKey":"data.oneOf.12.action","typeLabel":"string"},"status":{"type":"string","enum":["succeeded","failed"],"isRequired":true,"uniqueKey":"data.oneOf.12.status","typeLabel":"enum\u003cstring>"},"error":{"oneOf":[{"type":"string","description":"Why the action failed, or `null` if it succeeded.","isRequired":true,"uniqueKey":"data.oneOf.12.error.oneOf.0","typeLabel":"string"},{"type":"null","description":"Why the action failed, or `null` if it succeeded.","isRequired":true,"uniqueKey":"data.oneOf.12.error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.12.error","typeLabel":"string | null"},"operation":{"type":"string","enum":["find_rows","append_row","update_row","clear_rows","delete_rows"],"isRequired":true,"uniqueKey":"data.oneOf.12.operation","typeLabel":"enum\u003cstring>"},"row_count":{"oneOf":[{"type":"integer","description":"The number of rows found or changed.","isRequired":true,"uniqueKey":"data.oneOf.12.row_count.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The number of rows found or changed.","isRequired":true,"uniqueKey":"data.oneOf.12.row_count.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.12.row_count","typeLabel":"integer | null"}},"isRequired":true,"uniqueKey":"data.oneOf.12","typeLabel":"object"},{"type":"object","description":"Details of the message, depending on its `type`. `text` messages from the agent include their `sources`. `null` for other `text` messages and for an AI agent's media messages.","required":["action","status","error","operation","record_id","record_count","properties","records"],"properties":{"action":{"type":"string","const":"hubspot","isRequired":true,"uniqueKey":"data.oneOf.13.action","typeLabel":"string"},"status":{"type":"string","enum":["succeeded","failed"],"isRequired":true,"uniqueKey":"data.oneOf.13.status","typeLabel":"enum\u003cstring>"},"error":{"oneOf":[{"type":"string","description":"Why the action failed, or `null` if it succeeded.","isRequired":true,"uniqueKey":"data.oneOf.13.error.oneOf.0","typeLabel":"string"},{"type":"null","description":"Why the action failed, or `null` if it succeeded.","isRequired":true,"uniqueKey":"data.oneOf.13.error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.13.error","typeLabel":"string | null"},"operation":{"type":"string","enum":["find_contact","create_contact","update_contact","find_company","create_company","update_company","find_ticket","create_ticket","update_ticket"],"isRequired":true,"uniqueKey":"data.oneOf.13.operation","typeLabel":"enum\u003cstring>"},"record_id":{"oneOf":[{"type":"string","description":"The HubSpot record that was created, updated, or found.","isRequired":true,"uniqueKey":"data.oneOf.13.record_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The HubSpot record that was created, updated, or found.","isRequired":true,"uniqueKey":"data.oneOf.13.record_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.13.record_id","typeLabel":"string | null"},"record_count":{"oneOf":[{"type":"integer","description":"The number of records found.","isRequired":true,"uniqueKey":"data.oneOf.13.record_count.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The number of records found.","isRequired":true,"uniqueKey":"data.oneOf.13.record_count.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.13.record_count","typeLabel":"integer | null"},"properties":{"type":"array","items":{"type":"object","required":["name","label","value"],"properties":{"name":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.13.properties.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.13.properties.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.13.properties.items.[INDEX].name","typeLabel":"string | null"},"label":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.13.properties.items.[INDEX].label.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.13.properties.items.[INDEX].label.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.13.properties.items.[INDEX].label","typeLabel":"string | null"},"value":{"oneOf":[{"type":"string","description":"The value as text.","isRequired":true,"uniqueKey":"data.oneOf.13.properties.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"null","description":"The value as text.","isRequired":true,"uniqueKey":"data.oneOf.13.properties.items.[INDEX].value.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.13.properties.items.[INDEX].value","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.13.properties.items.[INDEX]","typeLabel":"object"},"description":"The record's properties, up to 50.","isRequired":true,"uniqueKey":"data.oneOf.13.properties","typeLabel":"object[]"},"records":{"type":"array","items":{"type":"object","required":["record_id","properties"],"properties":{"record_id":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.13.records.items.[INDEX].record_id.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.13.records.items.[INDEX].record_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.13.records.items.[INDEX].record_id","typeLabel":"string | null"},"properties":{"type":"array","items":{"type":"object","required":["name","label","value"],"properties":{"name":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.13.records.items.[INDEX].properties.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.13.records.items.[INDEX].properties.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.13.records.items.[INDEX].properties.items.[INDEX].name","typeLabel":"string | null"},"label":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.13.records.items.[INDEX].properties.items.[INDEX].label.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.13.records.items.[INDEX].properties.items.[INDEX].label.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.13.records.items.[INDEX].properties.items.[INDEX].label","typeLabel":"string | null"},"value":{"oneOf":[{"type":"string","description":"The value as text.","isRequired":true,"uniqueKey":"data.oneOf.13.records.items.[INDEX].properties.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"null","description":"The value as text.","isRequired":true,"uniqueKey":"data.oneOf.13.records.items.[INDEX].properties.items.[INDEX].value.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.13.records.items.[INDEX].properties.items.[INDEX].value","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.13.records.items.[INDEX].properties.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.oneOf.13.records.items.[INDEX].properties","typeLabel":"object[]"}},"uniqueKey":"data.oneOf.13.records.items.[INDEX]","typeLabel":"object"},"description":"The records found, up to 10 with 10 properties each.","isRequired":true,"uniqueKey":"data.oneOf.13.records","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"data.oneOf.13","typeLabel":"object"},{"type":"object","description":"Details of the message, depending on its `type`. `text` messages from the agent include their `sources`. `null` for other `text` messages and for an AI agent's media messages.","required":["action","status","error","workflow_id","workflow_name","run_id","run_status"],"properties":{"action":{"type":"string","const":"run_workflow","isRequired":true,"uniqueKey":"data.oneOf.14.action","typeLabel":"string"},"status":{"type":"string","enum":["succeeded","failed"],"isRequired":true,"uniqueKey":"data.oneOf.14.status","typeLabel":"enum\u003cstring>"},"error":{"oneOf":[{"type":"string","description":"Why the action failed, or `null` if it succeeded.","isRequired":true,"uniqueKey":"data.oneOf.14.error.oneOf.0","typeLabel":"string"},{"type":"null","description":"Why the action failed, or `null` if it succeeded.","isRequired":true,"uniqueKey":"data.oneOf.14.error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.14.error","typeLabel":"string | null"},"workflow_id":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.14.workflow_id.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.14.workflow_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.14.workflow_id","typeLabel":"string | null"},"workflow_name":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.14.workflow_name.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.14.workflow_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.14.workflow_name","typeLabel":"string | null"},"run_id":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.14.run_id.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.14.run_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.14.run_id","typeLabel":"string | null"},"run_status":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.14.run_status.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.14.run_status.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.14.run_status","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.oneOf.14","typeLabel":"object"},{"type":"object","description":"Details of the message, depending on its `type`. `text` messages from the agent include their `sources`. `null` for other `text` messages and for an AI agent's media messages.","required":["url"],"properties":{"url":{"oneOf":[{"type":"string","description":"The file's URL, as set in the chatbot's flow.","isRequired":true,"uniqueKey":"data.oneOf.15.url.oneOf.0","typeLabel":"string"},{"type":"null","description":"The file's URL, as set in the chatbot's flow.","isRequired":true,"uniqueKey":"data.oneOf.15.url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.15.url","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.oneOf.15","typeLabel":"object"},{"type":"object","description":"Details of the message, depending on its `type`. `text` messages from the agent include their `sources`. `null` for other `text` messages and for an AI agent's media messages.","required":["items"],"properties":{"items":{"type":"array","items":{"type":"object","required":["id","title","description","image_url","buttons"],"properties":{"id":{"type":"string","description":"Numbered from `1` if the card has no ID.","isRequired":true,"uniqueKey":"data.oneOf.16.\\items.items.[INDEX].id","typeLabel":"string"},"title":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.16.\\items.items.[INDEX].title.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.16.\\items.items.[INDEX].title.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.16.\\items.items.[INDEX].title","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.16.\\items.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.16.\\items.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.16.\\items.items.[INDEX].description","typeLabel":"string | null"},"image_url":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.16.\\items.items.[INDEX].image_url.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.16.\\items.items.[INDEX].image_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.16.\\items.items.[INDEX].image_url","typeLabel":"string | null"},"buttons":{"type":"array","items":{"type":"object","required":["id","label","url","message"],"properties":{"id":{"type":"string","description":"Chatbot link buttons don't have IDs, so they're numbered from `1`.","isRequired":true,"uniqueKey":"data.oneOf.16.\\items.items.[INDEX].buttons.items.[INDEX].id","typeLabel":"string"},"label":{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.16.\\items.items.[INDEX].buttons.items.[INDEX].label","typeLabel":"string"},"url":{"oneOf":[{"type":"string","description":"Set for link buttons, which open the URL instead of sending a message.","isRequired":true,"uniqueKey":"data.oneOf.16.\\items.items.[INDEX].buttons.items.[INDEX].url.oneOf.0","typeLabel":"string"},{"type":"null","description":"Set for link buttons, which open the URL instead of sending a message.","isRequired":true,"uniqueKey":"data.oneOf.16.\\items.items.[INDEX].buttons.items.[INDEX].url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.16.\\items.items.[INDEX].buttons.items.[INDEX].url","typeLabel":"string | null"},"message":{"oneOf":[{"type":"string","description":"Set for reply buttons: the text the widget sends as a user message when the button is chosen.","isRequired":true,"uniqueKey":"data.oneOf.16.\\items.items.[INDEX].buttons.items.[INDEX].message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Set for reply buttons: the text the widget sends as a user message when the button is chosen.","isRequired":true,"uniqueKey":"data.oneOf.16.\\items.items.[INDEX].buttons.items.[INDEX].message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.16.\\items.items.[INDEX].buttons.items.[INDEX].message","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.16.\\items.items.[INDEX].buttons.items.[INDEX]","typeLabel":"object"},"description":"The card's buttons, in the same shape as a `buttons` message.","isRequired":true,"uniqueKey":"data.oneOf.16.\\items.items.[INDEX].buttons","typeLabel":"object[]"}},"uniqueKey":"data.oneOf.16.\\items.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.oneOf.16.\\items","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"data.oneOf.16","typeLabel":"object"},{"type":"object","description":"Details of the message, depending on its `type`. `text` messages from the agent include their `sources`. `null` for other `text` messages and for an AI agent's media messages.","required":["first_name","last_name","company","job_title","phones","emails","urls"],"properties":{"first_name":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.17.first_name.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.17.first_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.17.first_name","typeLabel":"string | null"},"last_name":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.17.last_name.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.17.last_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.17.last_name","typeLabel":"string | null"},"company":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.17.company.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.17.company.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.17.company","typeLabel":"string | null"},"job_title":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.17.job_title.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.17.job_title.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.17.job_title","typeLabel":"string | null"},"phones":{"type":"array","items":{"type":"string","uniqueKey":"data.oneOf.17.phones.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"data.oneOf.17.phones","typeLabel":"string[]"},"emails":{"type":"array","items":{"type":"string","uniqueKey":"data.oneOf.17.emails.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"data.oneOf.17.emails","typeLabel":"string[]"},"urls":{"type":"array","items":{"type":"string","uniqueKey":"data.oneOf.17.urls.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"data.oneOf.17.urls","typeLabel":"string[]"}},"isRequired":true,"uniqueKey":"data.oneOf.17","typeLabel":"object"},{"type":"null","description":"Details of the message, depending on its `type`. `text` messages from the agent include their `sources`. `null` for other `text` messages and for an AI agent's media messages.","isRequired":true,"uniqueKey":"data.oneOf.18","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data","typeLabel":"object · object · object · object · object · object · object · object · object · object · object · object · object · object · object · object · object · object · null"},"attachments":{"type":"array","items":{"type":"object","description":"A file sent with a message: an upload from the API, chat widget, or dashboard, or media from WhatsApp, Messenger, or Instagram.","required":["id","type","mime","filename","size","url","url_expires_at"],"properties":{"id":{"type":"string","description":"Unique identifier for the attachment, stable across requests.","isRequired":true,"uniqueKey":"attachments.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","enum":["image","video","audio","document"],"isRequired":true,"uniqueKey":"attachments.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"mime":{"oneOf":[{"type":"string","description":"The MIME type, such as `image/png`. `null` if the channel didn't report one.","isRequired":true,"uniqueKey":"attachments.items.[INDEX].mime.oneOf.0","typeLabel":"string"},{"type":"null","description":"The MIME type, such as `image/png`. `null` if the channel didn't report one.","isRequired":true,"uniqueKey":"attachments.items.[INDEX].mime.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"attachments.items.[INDEX].mime","typeLabel":"string | null"},"filename":{"oneOf":[{"type":"string","description":"The original file name. `null` if the channel didn't send one.","isRequired":true,"uniqueKey":"attachments.items.[INDEX].filename.oneOf.0","typeLabel":"string"},{"type":"null","description":"The original file name. `null` if the channel didn't send one.","isRequired":true,"uniqueKey":"attachments.items.[INDEX].filename.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"attachments.items.[INDEX].filename","typeLabel":"string | null"},"size":{"oneOf":[{"type":"integer","description":"The size in bytes. `null` for channel media, whose size is only known once downloaded.","isRequired":true,"uniqueKey":"attachments.items.[INDEX].size.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The size in bytes. `null` for channel media, whose size is only known once downloaded.","isRequired":true,"uniqueKey":"attachments.items.[INDEX].size.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"attachments.items.[INDEX].size","typeLabel":"integer | null"},"url":{"oneOf":[{"type":"string","format":"uri","description":"A link to download the file, valid until `url_expires_at`. It doesn't need an API key, so treat it as a secret. List the messages again to get a new link. Channels can remove files at any time, and the link then returns 410 `attachment_unavailable`. `null` if a link couldn't be created. Listing again retries.","isRequired":true,"uniqueKey":"attachments.items.[INDEX].url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","description":"A link to download the file, valid until `url_expires_at`. It doesn't need an API key, so treat it as a secret. List the messages again to get a new link. Channels can remove files at any time, and the link then returns 410 `attachment_unavailable`. `null` if a link couldn't be created. Listing again retries.","isRequired":true,"uniqueKey":"attachments.items.[INDEX].url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"attachments.items.[INDEX].url","typeLabel":"string\u003curi> | null"},"url_expires_at":{"oneOf":[{"type":"string","format":"date-time","description":"Time at which `url` expires, 5 minutes after the request. `null` if `url` is.","isRequired":true,"uniqueKey":"attachments.items.[INDEX].url_expires_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Time at which `url` expires, 5 minutes after the request. `null` if `url` is.","isRequired":true,"uniqueKey":"attachments.items.[INDEX].url_expires_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"attachments.items.[INDEX].url_expires_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"attachments.items.[INDEX]","typeLabel":"object"},"description":"Files sent with the message, in order. A caption is the message's `text`.","isRequired":true,"uniqueKey":"attachments","typeLabel":"object[]"},"is_note":{"type":"boolean","description":"Whether the message is an internal note, which the user never sees.","isRequired":true,"uniqueKey":"is_note","typeLabel":"boolean"},"sent_by_website":{"type":"boolean","description":"Whether the website sent this user message with `window.Chatling.sendMessage()`, rather than the user typing it.","isRequired":true,"uniqueKey":"sent_by_website","typeLabel":"boolean"},"is_hidden":{"type":"boolean","description":"Whether the website sent this message with `hidden: true`. The AI agent receives hidden messages, but the user never sees them.","isRequired":true,"uniqueKey":"is_hidden","typeLabel":"boolean"},"rating":{"oneOf":[{"type":"string","enum":["positive","negative",null],"description":"The rating of an AI-written answer, given by the user in the widget or set with [Update a message](/api-reference/v3/conversations/update-message). Always `null` for other messages.","isRequired":true,"uniqueKey":"rating.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["positive","negative",null],"description":"The rating of an AI-written answer, given by the user in the widget or set with [Update a message](/api-reference/v3/conversations/update-message). Always `null` for other messages.","isRequired":true,"uniqueKey":"rating.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"rating","typeLabel":"enum\u003cstring> | null"},"created_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"created_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time> | null"},"delivery_error":{"oneOf":[{"type":"object","description":"Set if the channel, such as WhatsApp, rejected the reply. The reply is saved and shown as failed in the inbox. Always `null` for notes.","required":["code","message"],"properties":{"code":{"const":"channel_refused","isRequired":true,"uniqueKey":"delivery_error.oneOf.0.code","typeLabel":"any"},"message":{"type":"string","description":"The reason, as reported by the channel.","isRequired":true,"uniqueKey":"delivery_error.oneOf.0.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"delivery_error.oneOf.0","typeLabel":"object"},{"type":"null","description":"Set if the channel, such as WhatsApp, rejected the reply. The reply is saved and shown as failed in the inbox. Always `null` for notes.","isRequired":true,"uniqueKey":"delivery_error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"delivery_error","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"object":"message","id":"\u003cstring>","conversation_id":"\u003cstring>","author":{"type":"user","id":"\u003cstring>","name":"\u003cstring>"},"type":"text","text":"\u003cstring>","data":{"sources":[{"type":"webpage","title":"\u003cstring>","url":"\u003cstring>"}]},"attachments":[{"id":"\u003cstring>","type":"image","mime":"\u003cstring>","filename":"\u003cstring>","size":123,"url":"\u003cstring>","url_expires_at":"2023-11-07T05:31:56Z"}],"is_note":true,"sent_by_website":true,"is_hidden":true,"rating":"positive","created_at":"2023-11-07T05:31:56Z","delivery_error":{"code":"channel_refused","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"4ca58117-51e1-4d89-a1c1-351b8f732fb6":{"description":"- `invalid_json`: The body isn't a JSON object or array.\n- `invalid_idempotency_key`: The `Idempotency-Key` header is invalid.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["type","code","message","param","request_id"],"properties":{"type":{"type":"string","enum":["authentication_error","permission_error","not_found_error","invalid_request_error","idempotency_error","rate_limit_error","api_error"],"description":"The type of error returned.","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"A short string identifying the error. Codes are stable, so handle errors by `code`. New codes may be added.","examples":["validation_failed","insufficient_permission","resource_not_found"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"A human-readable message with more details about the error. The wording can change, so don't parse it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"type":"string","description":"If the error is parameter-specific, the parameter related to the error, in dot notation for nested fields, such as `member_ids.1`. For `validation_failed`, the first entry of `errors`.","isRequired":true,"uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","description":"If the error is parameter-specific, the parameter related to the error, in dot notation for nested fields, such as `member_ids.1`. For `validation_failed`, the first entry of `errors`.","isRequired":true,"uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.param","typeLabel":"string | null"},"request_id":{"type":"string","description":"The ID of the request, also returned in the `X-Request-Id` header. Include it when you contact support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"errors":{"type":"array","description":"For `validation_failed` only: every invalid parameter. The top-level `param` and `message` match the first entry.","items":{"type":"object","required":["param","message"],"properties":{"param":{"type":"string","description":"The invalid parameter, in dot notation for nested fields.","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].param","typeLabel":"string"},"message":{"type":"string","description":"A human-readable message about the problem. The wording can change.","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.errors","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"authentication_error","code":"validation_failed","message":"\u003cstring>","param":"\u003cstring>","request_id":"\u003cstring>","errors":[{"param":"\u003cstring>","message":"\u003cstring>"}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"f0da91a9-8ade-4292-926c-52d971e30812":{"description":"`missing_api_key`, `invalid_api_key`, or `api_key_expired`.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["type","code","message","param","request_id"],"properties":{"type":{"type":"string","enum":["authentication_error","permission_error","not_found_error","invalid_request_error","idempotency_error","rate_limit_error","api_error"],"description":"The type of error returned.","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"A short string identifying the error. Codes are stable, so handle errors by `code`. New codes may be added.","examples":["validation_failed","insufficient_permission","resource_not_found"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"A human-readable message with more details about the error. The wording can change, so don't parse it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"type":"string","description":"If the error is parameter-specific, the parameter related to the error, in dot notation for nested fields, such as `member_ids.1`. For `validation_failed`, the first entry of `errors`.","isRequired":true,"uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","description":"If the error is parameter-specific, the parameter related to the error, in dot notation for nested fields, such as `member_ids.1`. For `validation_failed`, the first entry of `errors`.","isRequired":true,"uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.param","typeLabel":"string | null"},"request_id":{"type":"string","description":"The ID of the request, also returned in the `X-Request-Id` header. Include it when you contact support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"errors":{"type":"array","description":"For `validation_failed` only: every invalid parameter. The top-level `param` and `message` match the first entry.","items":{"type":"object","required":["param","message"],"properties":{"param":{"type":"string","description":"The invalid parameter, in dot notation for nested fields.","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].param","typeLabel":"string"},"message":{"type":"string","description":"A human-readable message about the problem. The wording can change.","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.errors","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"type":"authentication_error","code":"invalid_api_key","message":"The API key is invalid or has been revoked.","param":null,"request_id":"req_8Fq2kLm9TzX4vB7nC1dR5sYw"}},"examples":{"Example":{"title":"Example","value":{"error":{"type":"authentication_error","code":"invalid_api_key","message":"The API key is invalid or has been revoked.","param":null,"request_id":"req_8Fq2kLm9TzX4vB7nC1dR5sYw"}}}},"exampleType":"examples"}},"exampleType":"examples"},"5e0f6e5a-146e-41e0-8fb9-270ce40752c7":{"description":"`insufficient_permission`, `project_suspended`, or `plan_feature_unavailable`.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["type","code","message","param","request_id"],"properties":{"type":{"type":"string","enum":["authentication_error","permission_error","not_found_error","invalid_request_error","idempotency_error","rate_limit_error","api_error"],"description":"The type of error returned.","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"A short string identifying the error. Codes are stable, so handle errors by `code`. New codes may be added.","examples":["validation_failed","insufficient_permission","resource_not_found"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"A human-readable message with more details about the error. The wording can change, so don't parse it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"type":"string","description":"If the error is parameter-specific, the parameter related to the error, in dot notation for nested fields, such as `member_ids.1`. For `validation_failed`, the first entry of `errors`.","isRequired":true,"uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","description":"If the error is parameter-specific, the parameter related to the error, in dot notation for nested fields, such as `member_ids.1`. For `validation_failed`, the first entry of `errors`.","isRequired":true,"uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.param","typeLabel":"string | null"},"request_id":{"type":"string","description":"The ID of the request, also returned in the `X-Request-Id` header. Include it when you contact support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"errors":{"type":"array","description":"For `validation_failed` only: every invalid parameter. The top-level `param` and `message` match the first entry.","items":{"type":"object","required":["param","message"],"properties":{"param":{"type":"string","description":"The invalid parameter, in dot notation for nested fields.","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].param","typeLabel":"string"},"message":{"type":"string","description":"A human-readable message about the problem. The wording can change.","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.errors","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"type":"permission_error","code":"insufficient_permission","message":"This API key doesn't have delete access to agents.","param":null,"request_id":"req_8Fq2kLm9TzX4vB7nC1dR5sYw"}},"examples":{"Example":{"title":"Example","value":{"error":{"type":"permission_error","code":"insufficient_permission","message":"This API key doesn't have delete access to agents.","param":null,"request_id":"req_8Fq2kLm9TzX4vB7nC1dR5sYw"}}}},"exampleType":"examples"}},"exampleType":"examples"},"705dfa7e-23c2-46a5-b232-a2815f79a0d5":{"description":"`resource_not_found`: No conversation with this ID exists in the project, or the key can't access its agent.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["type","code","message","param","request_id"],"properties":{"type":{"type":"string","enum":["authentication_error","permission_error","not_found_error","invalid_request_error","idempotency_error","rate_limit_error","api_error"],"description":"The type of error returned.","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"A short string identifying the error. Codes are stable, so handle errors by `code`. New codes may be added.","examples":["validation_failed","insufficient_permission","resource_not_found"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"A human-readable message with more details about the error. The wording can change, so don't parse it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"type":"string","description":"If the error is parameter-specific, the parameter related to the error, in dot notation for nested fields, such as `member_ids.1`. For `validation_failed`, the first entry of `errors`.","isRequired":true,"uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","description":"If the error is parameter-specific, the parameter related to the error, in dot notation for nested fields, such as `member_ids.1`. For `validation_failed`, the first entry of `errors`.","isRequired":true,"uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.param","typeLabel":"string | null"},"request_id":{"type":"string","description":"The ID of the request, also returned in the `X-Request-Id` header. Include it when you contact support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"errors":{"type":"array","description":"For `validation_failed` only: every invalid parameter. The top-level `param` and `message` match the first entry.","items":{"type":"object","required":["param","message"],"properties":{"param":{"type":"string","description":"The invalid parameter, in dot notation for nested fields.","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].param","typeLabel":"string"},"message":{"type":"string","description":"A human-readable message about the problem. The wording can change.","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.errors","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"type":"not_found_error","code":"resource_not_found","message":"No conversation with this ID exists, or this API key can't access it.","param":null,"request_id":"req_8Fq2kLm9TzX4vB7nC1dR5sYw"}},"examples":{"Example":{"title":"Example","value":{"error":{"type":"not_found_error","code":"resource_not_found","message":"No conversation with this ID exists, or this API key can't access it.","param":null,"request_id":"req_8Fq2kLm9TzX4vB7nC1dR5sYw"}}}},"exampleType":"examples"}},"exampleType":"examples"},"127e5ad0-e04f-4102-a3d7-4b8c81207b05":{"description":"- `conversation_ended`: The conversation has ended.\n- `reply_window_closed`: On WhatsApp, Instagram, or Messenger, the user hasn't written yet, or `reply_window.team_reply_closes_at` has passed.\n- `idempotency_request_in_progress`: A request with this `Idempotency-Key` is still running.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["type","code","message","param","request_id"],"properties":{"type":{"type":"string","enum":["authentication_error","permission_error","not_found_error","invalid_request_error","idempotency_error","rate_limit_error","api_error"],"description":"The type of error returned.","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"A short string identifying the error. Codes are stable, so handle errors by `code`. New codes may be added.","examples":["validation_failed","insufficient_permission","resource_not_found"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"A human-readable message with more details about the error. The wording can change, so don't parse it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"type":"string","description":"If the error is parameter-specific, the parameter related to the error, in dot notation for nested fields, such as `member_ids.1`. For `validation_failed`, the first entry of `errors`.","isRequired":true,"uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","description":"If the error is parameter-specific, the parameter related to the error, in dot notation for nested fields, such as `member_ids.1`. For `validation_failed`, the first entry of `errors`.","isRequired":true,"uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.param","typeLabel":"string | null"},"request_id":{"type":"string","description":"The ID of the request, also returned in the `X-Request-Id` header. Include it when you contact support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"errors":{"type":"array","description":"For `validation_failed` only: every invalid parameter. The top-level `param` and `message` match the first entry.","items":{"type":"object","required":["param","message"],"properties":{"param":{"type":"string","description":"The invalid parameter, in dot notation for nested fields.","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].param","typeLabel":"string"},"message":{"type":"string","description":"A human-readable message about the problem. The wording can change.","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.errors","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"type":"invalid_request_error","code":"conversation_ended","message":"This conversation has ended, so it can't take replies or notes.","param":null,"request_id":"req_8Fq2kLm9TzX4vB7nC1dR5sYw"}},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request_error","code":"conversation_ended","message":"This conversation has ended, so it can't take replies or notes.","param":null,"request_id":"req_8Fq2kLm9TzX4vB7nC1dR5sYw"}}}},"exampleType":"examples"}},"exampleType":"examples"},"2cd3b321-9033-4472-8e97-01560b03d94e":{"description":"`validation_failed`, or `idempotency_key_reused` if the `Idempotency-Key` was already used for a different request.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["type","code","message","param","request_id"],"properties":{"type":{"type":"string","enum":["authentication_error","permission_error","not_found_error","invalid_request_error","idempotency_error","rate_limit_error","api_error"],"description":"The type of error returned.","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"A short string identifying the error. Codes are stable, so handle errors by `code`. New codes may be added.","examples":["validation_failed","insufficient_permission","resource_not_found"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"A human-readable message with more details about the error. The wording can change, so don't parse it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"type":"string","description":"If the error is parameter-specific, the parameter related to the error, in dot notation for nested fields, such as `member_ids.1`. For `validation_failed`, the first entry of `errors`.","isRequired":true,"uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","description":"If the error is parameter-specific, the parameter related to the error, in dot notation for nested fields, such as `member_ids.1`. For `validation_failed`, the first entry of `errors`.","isRequired":true,"uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.param","typeLabel":"string | null"},"request_id":{"type":"string","description":"The ID of the request, also returned in the `X-Request-Id` header. Include it when you contact support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"errors":{"type":"array","description":"For `validation_failed` only: every invalid parameter. The top-level `param` and `message` match the first entry.","items":{"type":"object","required":["param","message"],"properties":{"param":{"type":"string","description":"The invalid parameter, in dot notation for nested fields.","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].param","typeLabel":"string"},"message":{"type":"string","description":"A human-readable message about the problem. The wording can change.","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.errors","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"authentication_error","code":"validation_failed","message":"\u003cstring>","param":"\u003cstring>","request_id":"\u003cstring>","errors":[{"param":"\u003cstring>","message":"\u003cstring>"}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"c946ae42-2ce6-4e4b-99f4-909dd31f837c":{"description":"`rate_limit_exceeded`.","headers":{"Retry-After":{"description":"The number of seconds to wait before retrying.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["type","code","message","param","request_id"],"properties":{"type":{"type":"string","enum":["authentication_error","permission_error","not_found_error","invalid_request_error","idempotency_error","rate_limit_error","api_error"],"description":"The type of error returned.","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"A short string identifying the error. Codes are stable, so handle errors by `code`. New codes may be added.","examples":["validation_failed","insufficient_permission","resource_not_found"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"A human-readable message with more details about the error. The wording can change, so don't parse it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"type":"string","description":"If the error is parameter-specific, the parameter related to the error, in dot notation for nested fields, such as `member_ids.1`. For `validation_failed`, the first entry of `errors`.","isRequired":true,"uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","description":"If the error is parameter-specific, the parameter related to the error, in dot notation for nested fields, such as `member_ids.1`. For `validation_failed`, the first entry of `errors`.","isRequired":true,"uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.param","typeLabel":"string | null"},"request_id":{"type":"string","description":"The ID of the request, also returned in the `X-Request-Id` header. Include it when you contact support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"errors":{"type":"array","description":"For `validation_failed` only: every invalid parameter. The top-level `param` and `message` match the first entry.","items":{"type":"object","required":["param","message"],"properties":{"param":{"type":"string","description":"The invalid parameter, in dot notation for nested fields.","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].param","typeLabel":"string"},"message":{"type":"string","description":"A human-readable message about the problem. The wording can change.","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.errors","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"authentication_error","code":"validation_failed","message":"\u003cstring>","param":"\u003cstring>","request_id":"\u003cstring>","errors":[{"param":"\u003cstring>","message":"\u003cstring>"}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"d17f2f76-5ed5-4eab-802d-b2993f163592":{"description":"`message_not_saved`: The message couldn't be saved. Retry with the same `Idempotency-Key`.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["type","code","message","param","request_id"],"properties":{"type":{"type":"string","enum":["authentication_error","permission_error","not_found_error","invalid_request_error","idempotency_error","rate_limit_error","api_error"],"description":"The type of error returned.","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"A short string identifying the error. Codes are stable, so handle errors by `code`. New codes may be added.","examples":["validation_failed","insufficient_permission","resource_not_found"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"A human-readable message with more details about the error. The wording can change, so don't parse it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"type":"string","description":"If the error is parameter-specific, the parameter related to the error, in dot notation for nested fields, such as `member_ids.1`. For `validation_failed`, the first entry of `errors`.","isRequired":true,"uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","description":"If the error is parameter-specific, the parameter related to the error, in dot notation for nested fields, such as `member_ids.1`. For `validation_failed`, the first entry of `errors`.","isRequired":true,"uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.param","typeLabel":"string | null"},"request_id":{"type":"string","description":"The ID of the request, also returned in the `X-Request-Id` header. Include it when you contact support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"errors":{"type":"array","description":"For `validation_failed` only: every invalid parameter. The top-level `param` and `message` match the first entry.","items":{"type":"object","required":["param","message"],"properties":{"param":{"type":"string","description":"The invalid parameter, in dot notation for nested fields.","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].param","typeLabel":"string"},"message":{"type":"string","description":"A human-readable message about the problem. The wording can change.","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.errors","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"type":"api_error","code":"message_not_saved","message":"The message couldn't be saved. Retry shortly.","param":null,"request_id":"req_8Fq2kLm9TzX4vB7nC1dR5sYw"}},"examples":{"Example":{"title":"Example","value":{"error":{"type":"api_error","code":"message_not_saved","message":"The message couldn't be saved. Retry shortly.","param":null,"request_id":"req_8Fq2kLm9TzX4vB7nC1dR5sYw"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"8529c987-60c7-4138-9cff-c6fa1c1f2729":{"apiKey":{"type":"http","scheme":"bearer","description":"A project API key, created in the dashboard.","scopes":[],"schemeName":"apiKey"}}},"servers":{"16086fde-3c32-456e-b395-21dafcd77092":{"url":"https://api.chatling.ai/v3"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"A project API key, created in the dashboard.","scopes":[],"schemeName":"apiKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"A project API key, created in the dashboard.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"apiKey","name":"Authorization"}],"title":"apiKey"}]},"originalFileLocation":"api-reference/v3/openapi.json"},"subdomain":"chatling-21192973","siteName":"Chatling Documentation","title":"Send a reply - Chatling Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-30T03:59:48.177Z","originalFileLocation":"api-reference/v3/conversations/send-reply.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Sends a reply from a team member to the user on the conversation\u0026#x27;s channel. The agent doesn\u0026#x27;t reply to it, and no AI credits are used. As in the inbox, a conversation in ai mode switches to live so the AI agent stops replying, an unassigned conversation is assigned to the author, and a resolved or closed conversation reopens. These changes show as made by API key \u0026quot;\u0026quot;. On WhatsApp, Instagram, and Messenger, you can only reply while the reply window is open (see the conversation\u0026#x27;s reply_window). If the channel rejects the reply, it\u0026#x27;s still saved and delivery_error is set. Replies support text only.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Chatling Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/chatling-21192973/I8bfejheDKLkYdJT/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/chatling-21192973/I8bfejheDKLkYdJT/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/chatling-21192973/I8bfejheDKLkYdJT/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/chatling-21192973/I8bfejheDKLkYdJT/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/chatling-21192973/I8bfejheDKLkYdJT/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/chatling-21192973/I8bfejheDKLkYdJT/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/chatling-21192973/I8bfejheDKLkYdJT/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/chatling-21192973/I8bfejheDKLkYdJT/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/chatling-21192973/I8bfejheDKLkYdJT/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Send a reply - Chatling Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Sends a reply from a team member to the user on the conversation\u0026#x27;s channel. The agent doesn\u0026#x27;t reply to it, and no AI credits are used. As in the inbox, a conversation in ai mode switches to live so the AI agent stops replying, an unassigned conversation is assigned to the author, and a resolved or closed conversation reopens. These changes show as made by API key \u0026quot;\u0026quot;. On WhatsApp, Instagram, and Messenger, you can only reply while the reply window is open (see the conversation\u0026#x27;s reply_window). If the channel rejects the reply, it\u0026#x27;s still saved and delivery_error is set. Replies support text only.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Chatling Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.chatling.ai/api-reference/v3/conversations/send-reply\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://chatling-21192973.mintlify.site/_mintlify/api/og/v2?division=Conversations\u0026amp;title=Send+a+reply\u0026amp;description=Sends+a+reply+from+a+team+member+to+the+user+on+the+conversation%27s+channel.+The+agent+doesn%27t+reply+to+it%2C+and+no+AI+credits+are+used.%0A%0AAs+in+the+inbox%2C+a+conve\u0026amp;theme=ab88d30c4ba459aae5018e6e\u0026amp;signature=b083176fd16adae16d50ae12186c814fab83b284c1422cea6d75314063d17e55\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Send a reply - Chatling Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Sends a reply from a team member to the user on the conversation\u0026#x27;s channel. The agent doesn\u0026#x27;t reply to it, and no AI credits are used. As in the inbox, a conversation in ai mode switches to live so the AI agent stops replying, an unassigned conversation is assigned to the author, and a resolved or closed conversation reopens. These changes show as made by API key \u0026quot;\u0026quot;. On WhatsApp, Instagram, and Messenger, you can only reply while the reply window is open (see the conversation\u0026#x27;s reply_window). If the channel rejects the reply, it\u0026#x27;s still saved and delivery_error is set. Replies support text only.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://chatling-21192973.mintlify.site/_mintlify/api/og/v2?division=Conversations\u0026amp;title=Send+a+reply\u0026amp;description=Sends+a+reply+from+a+team+member+to+the+user+on+the+conversation%27s+channel.+The+agent+doesn%27t+reply+to+it%2C+and+no+AI+credits+are+used.%0A%0AAs+in+the+inbox%2C+a+conve\u0026amp;theme=ab88d30c4ba459aae5018e6e\u0026amp;signature=b083176fd16adae16d50ae12186c814fab83b284c1422cea6d75314063d17e55\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/chatling-21192973/I8bfejheDKLkYdJT/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Chatling Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.chatling.ai/api-reference/v3/conversations/send-reply\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/v3/conversations/send-reply.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.chatling.ai/#organization\",\"name\":\"Chatling Documentation\",\"url\":\"https://docs.chatling.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/chatling-21192973/28-2rxbvH5ywRTMu/logo/chatling-logo.svg?fit=max\u0026auto=format\u0026n=28-2rxbvH5ywRTMu\u0026q=85\u0026s=b2dff50e5e554f9a1821ad6c4e86b8cd\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.chatling.ai#website\",\"name\":\"Chatling Documentation\",\"url\":\"https://docs.chatling.ai\",\"publisher\":{\"@id\":\"https://docs.chatling.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.chatling.ai/api-reference/v3/conversations/send-reply#webpage\",\"url\":\"https://docs.chatling.ai/api-reference/v3/conversations/send-reply\",\"name\":\"Send a reply\",\"description\":\"Sends a reply from a team member to the user on the conversation's channel. The agent doesn't reply to it, and no AI credits are used. As in the inbox, a conversation in ai mode switches to live so the AI agent stops replying, an unassigned conversation is assigned to the author, and a resolved or closed conversation reopens. These changes show as made by API key \\\"\\\". On WhatsApp, Instagram, and Messenger, you can only reply while the reply window is open (see the conversation's reply_window). If the channel rejects the reply, it's still saved and delivery_error is set. Replies support text only.\",\"dateModified\":\"2026-11-30T03:59:48.177Z\",\"isPartOf\":{\"@id\":\"https://docs.chatling.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.chatling.ai/api-reference/v3/conversations/send-reply#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.chatling.ai/api-reference/v3/conversations/send-reply#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Reference\",\"item\":\"https://docs.chatling.ai/api-reference/v3/api-key/get-current-api-key\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Conversations\",\"item\":\"https://docs.chatling.ai/api-reference/v3/conversations/list-conversations\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Send a reply\",\"item\":\"https://docs.chatling.ai/api-reference/v3/conversations/send-reply\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.chatling.ai/api-reference/v3/conversations/send-reply#apireference\",\"headline\":\"Send a reply\",\"name\":\"Send a reply\",\"description\":\"Sends a reply from a team member to the user on the conversation's channel. The agent doesn't reply to it, and no AI credits are used. As in the inbox, a conversation in ai mode switches to live so the AI agent stops replying, an unassigned conversation is assigned to the author, and a resolved or closed conversation reopens. These changes show as made by API key \\\"\\\". On WhatsApp, Instagram, and Messenger, you can only reply while the reply window is open (see the conversation's reply_window). If the channel rejects the reply, it's still saved and delivery_error is set. Replies support text only.\",\"url\":\"https://docs.chatling.ai/api-reference/v3/conversations/send-reply\",\"mainEntityOfPage\":{\"@id\":\"https://docs.chatling.ai/api-reference/v3/conversations/send-reply#webpage\"},\"dateModified\":\"2026-11-30T03:59:48.177Z\",\"publisher\":{\"@id\":\"https://docs.chatling.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.chatling.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Chatling Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Chatling Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/v3/conversations/send-reply.md","siteName":"Chatling Documentation","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Get started","pages":[{"title":"Introduction","sidebarTitle":"Introduction","href":"/api-reference/v3/introduction"},{"title":"Authentication","href":"/api-reference/v3/authentication"},{"title":"Errors","href":"/api-reference/v3/errors"},{"title":"Pagination","href":"/api-reference/v3/pagination"},{"title":"MCP server","href":"/api-reference/v3/mcp"}]},{"group":"Reference","pages":[{"group":"API key","pages":[{"title":"Retrieve the current API key","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /me","href":"/api-reference/v3/api-key/get-current-api-key"}]},{"group":"Project","pages":[{"title":"Retrieve the project","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /project","href":"/api-reference/v3/project/get-project"},{"title":"Update the project","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json patch /project","href":"/api-reference/v3/project/update-project"},{"title":"Retrieve usage","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /usage","href":"/api-reference/v3/project/get-usage"}]},{"group":"Members","pages":[{"title":"List members","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /members","href":"/api-reference/v3/members/list-members"}]},{"group":"AI models","pages":[{"title":"List AI models","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /models","href":"/api-reference/v3/ai-models/list-models"}]},{"group":"Agents","pages":[{"title":"List AI agents","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /agents","href":"/api-reference/v3/agents/list-agents"},{"title":"Create an AI agent","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /agents","href":"/api-reference/v3/agents/create-agent"},{"title":"Retrieve an AI agent","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /agents/{agent}","href":"/api-reference/v3/agents/get-agent"},{"title":"Delete an AI agent","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json delete /agents/{agent}","href":"/api-reference/v3/agents/delete-agent"},{"title":"Update an AI agent","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json patch /agents/{agent}","href":"/api-reference/v3/agents/update-agent"},{"title":"Duplicate an AI agent","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /agents/{agent}/duplicate","href":"/api-reference/v3/agents/duplicate-agent"}]},{"group":"Chatbots","pages":[{"title":"List chatbots","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /chatbots","href":"/api-reference/v3/chatbots/list-chatbots"},{"title":"Create a chatbot","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /chatbots","href":"/api-reference/v3/chatbots/create-chatbot"},{"title":"List chatbot templates","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /chatbots/templates","href":"/api-reference/v3/chatbots/list-chatbot-templates"},{"title":"Retrieve a chatbot","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /chatbots/{chatbot}","href":"/api-reference/v3/chatbots/get-chatbot"},{"title":"Delete a chatbot","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json delete /chatbots/{chatbot}","href":"/api-reference/v3/chatbots/delete-chatbot"},{"title":"Update a chatbot","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json patch /chatbots/{chatbot}","href":"/api-reference/v3/chatbots/update-chatbot"},{"title":"Duplicate a chatbot","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /chatbots/{chatbot}/duplicate","href":"/api-reference/v3/chatbots/duplicate-chatbot"}]},{"group":"Analytics","pages":[{"title":"Get the analytics overview","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /analytics/overview","href":"/api-reference/v3/analytics/get-analytics-overview"},{"title":"List countries","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /analytics/countries","href":"/api-reference/v3/analytics/list-analytics-countries"},{"title":"List channels","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /analytics/channels","href":"/api-reference/v3/analytics/list-analytics-channels"},{"title":"List pages","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /analytics/pages","href":"/api-reference/v3/analytics/list-analytics-pages"},{"title":"List topics by conversations","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /analytics/topics","href":"/api-reference/v3/analytics/list-analytics-topics"},{"title":"List busiest hours","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /analytics/hours","href":"/api-reference/v3/analytics/list-analytics-hours"}]},{"group":"Channels","pages":[{"title":"List channels","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /channels","href":"/api-reference/v3/channels/list-channels"},{"title":"Update a channel's settings","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json patch /channels/{channel}","href":"/api-reference/v3/channels/update-channel"}]},{"group":"WhatsApp","pages":[{"title":"List WhatsApp templates","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /whatsapp/templates","href":"/api-reference/v3/whatsapp/list-whatsapp-templates"},{"title":"Refresh WhatsApp templates","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /whatsapp/templates/refresh","href":"/api-reference/v3/whatsapp/refresh-whatsapp-templates"},{"title":"Retrieve a WhatsApp template","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /whatsapp/templates/{template}","href":"/api-reference/v3/whatsapp/get-whatsapp-template"},{"title":"Delete a WhatsApp template","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json delete /whatsapp/templates/{template}","href":"/api-reference/v3/whatsapp/delete-whatsapp-template"},{"title":"Send a WhatsApp template","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /whatsapp/messages","href":"/api-reference/v3/whatsapp/send-whatsapp-template"}]},{"group":"Conversations","pages":[{"title":"List conversations","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /conversations","href":"/api-reference/v3/conversations/list-conversations"},{"title":"Start a conversation","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /conversations","href":"/api-reference/v3/conversations/start-conversation"},{"title":"Retrieve a conversation","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /conversations/{conversation}","href":"/api-reference/v3/conversations/get-conversation"},{"title":"Delete a conversation","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json delete /conversations/{conversation}","href":"/api-reference/v3/conversations/delete-conversation"},{"title":"Update a conversation","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json patch /conversations/{conversation}","href":"/api-reference/v3/conversations/update-conversation"},{"title":"Retrieve a conversation's usage","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /conversations/{conversation}/usage","href":"/api-reference/v3/conversations/get-conversation-usage"},{"title":"List the messages of a conversation","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /conversations/{conversation}/messages","href":"/api-reference/v3/conversations/list-conversation-messages"},{"title":"Send a user message","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /conversations/{conversation}/messages","href":"/api-reference/v3/conversations/send-user-message"},{"title":"Update a message","description":"Sets or clears the rating of an AI-written answer, like the thumbs up or down a user gives in the widget. Only `rating` can be updated. Other messages, such as intro, workflow, team, and user messages, return 409 `message_not_rateable`. A chatbot's AI answers from its knowledge base can be rated, but its other flow messages can't.","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json patch /conversations/{conversation}/messages/{message}","href":"/api-reference/v3/conversations/update-message"},{"title":"Send a reply","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /conversations/{conversation}/replies","href":"/api-reference/v3/conversations/send-reply"},{"title":"Add a note","description":"Adds an internal note that only the team can see. Notes don't change the conversation's mode, assignee, or status. Unlike in the inbox, adding a note doesn't assign an unassigned conversation. You can add notes on every channel, regardless of the reply window.","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /conversations/{conversation}/notes","href":"/api-reference/v3/conversations/send-note"},{"title":"End a conversation","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /conversations/{conversation}/end","href":"/api-reference/v3/conversations/end-conversation"},{"title":"Upload an attachment","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /conversations/{conversation}/attachments","href":"/api-reference/v3/conversations/upload-attachment"},{"title":"Delete an attachment","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json delete /conversations/{conversation}/attachments/{attachment}","href":"/api-reference/v3/conversations/delete-attachment"},{"title":"Download a message attachment","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /conversations/{conversation}/messages/{message}/attachments/{attachment}","href":"/api-reference/v3/conversations/download-message-attachment"}]},{"group":"Contacts","pages":[{"title":"List contacts","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /contacts","href":"/api-reference/v3/contacts/list-contacts"},{"title":"Create a contact","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /contacts","href":"/api-reference/v3/contacts/create-contact"},{"title":"Retrieve a contact","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /contacts/{contact}","href":"/api-reference/v3/contacts/get-contact"},{"title":"Delete a contact","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json delete /contacts/{contact}","href":"/api-reference/v3/contacts/delete-contact"},{"title":"Update a contact","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json patch /contacts/{contact}","href":"/api-reference/v3/contacts/update-contact"}]},{"group":"Knowledge base","pages":[{"title":"Get a knowledge base summary","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /knowledge-base/summary","href":"/api-reference/v3/knowledge-base/get-knowledge-base-summary"},{"title":"List knowledge base sources","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /knowledge-base/sources","href":"/api-reference/v3/knowledge-base/list-knowledge-base-sources"},{"title":"Add a knowledge base source","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /knowledge-base/sources","href":"/api-reference/v3/knowledge-base/create-knowledge-base-source"},{"title":"Create a document upload","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /knowledge-base/uploads","href":"/api-reference/v3/knowledge-base/create-knowledge-base-upload"},{"title":"Add knowledge base sources in bulk","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /knowledge-base/sources/batch","href":"/api-reference/v3/knowledge-base/create-knowledge-base-sources"},{"title":"Retrieve a knowledge base source","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /knowledge-base/sources/{source}","href":"/api-reference/v3/knowledge-base/get-knowledge-base-source"},{"title":"Delete a knowledge base source","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json delete /knowledge-base/sources/{source}","href":"/api-reference/v3/knowledge-base/delete-knowledge-base-source"},{"title":"Update a knowledge base source","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json patch /knowledge-base/sources/{source}","href":"/api-reference/v3/knowledge-base/update-knowledge-base-source"},{"title":"Delete knowledge base sources in bulk","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /knowledge-base/sources/batch-delete","href":"/api-reference/v3/knowledge-base/delete-knowledge-base-sources"},{"title":"Resync a knowledge base source","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /knowledge-base/sources/{source}/resync","href":"/api-reference/v3/knowledge-base/resync-knowledge-base-source"},{"title":"Resync knowledge base sources in bulk","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /knowledge-base/sources/batch-resync","href":"/api-reference/v3/knowledge-base/resync-knowledge-base-sources"}]},{"group":"Labels","pages":[{"title":"List labels","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /labels","href":"/api-reference/v3/labels/list-labels"},{"title":"Create a label","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /labels","href":"/api-reference/v3/labels/create-label"},{"title":"Retrieve a label","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /labels/{label}","href":"/api-reference/v3/labels/get-label"},{"title":"Delete a label","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json delete /labels/{label}","href":"/api-reference/v3/labels/delete-label"},{"title":"Update a label","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json patch /labels/{label}","href":"/api-reference/v3/labels/update-label"}]},{"group":"Teams","pages":[{"title":"List teams","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /teams","href":"/api-reference/v3/teams/list-teams"},{"title":"Create a team","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /teams","href":"/api-reference/v3/teams/create-team"},{"title":"Retrieve a team","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /teams/{team}","href":"/api-reference/v3/teams/get-team"},{"title":"Delete a team","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json delete /teams/{team}","href":"/api-reference/v3/teams/delete-team"},{"title":"Update a team","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json patch /teams/{team}","href":"/api-reference/v3/teams/update-team"},{"title":"Add a team member","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json put /teams/{team}/members/{account}","href":"/api-reference/v3/teams/add-team-member"},{"title":"Remove a team member","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json delete /teams/{team}/members/{account}","href":"/api-reference/v3/teams/remove-team-member"}]},{"group":"Topics","pages":[{"title":"List topics","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /topics","href":"/api-reference/v3/topics/list-topics"}]},{"group":"Variables","pages":[{"title":"List variables","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /variables","href":"/api-reference/v3/variables/list-variables"},{"title":"Create a variable","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json post /variables","href":"/api-reference/v3/variables/create-variable"},{"title":"Retrieve a variable","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /variables/{variable}","href":"/api-reference/v3/variables/get-variable"},{"title":"Delete a variable","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json delete /variables/{variable}","href":"/api-reference/v3/variables/delete-variable"},{"title":"Update a variable","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json patch /variables/{variable}","href":"/api-reference/v3/variables/update-variable"}]},{"group":"Workflows","pages":[{"title":"List workflows","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /workflows","href":"/api-reference/v3/workflows/list-workflows"},{"title":"Retrieve the workflow catalog","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /workflows/catalog","href":"/api-reference/v3/workflows/get-workflow-catalog"},{"title":"Retrieve a workflow","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /workflows/{workflow}","href":"/api-reference/v3/workflows/get-workflow"},{"title":"Update a workflow","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json patch /workflows/{workflow}","href":"/api-reference/v3/workflows/update-workflow"},{"title":"List workflow runs","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /workflows/{workflow}/runs","href":"/api-reference/v3/workflows/list-workflow-runs"},{"title":"Retrieve a workflow run","deprecated":null,"version":null,"openapi":"/api-reference/v3/openapi.json get /workflows/{workflow}/runs/{run}","href":"/api-reference/v3/workflows/get-workflow-run"}]}]}]}]},"basePath":"","title":"Send a reply - Chatling Documentation","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BMn8tSe3.js","snippetPresets-Dl5ZrD9W.js","utils-CddEzDcs.js","style-to-object-BY3JEAdk.js","utils-Dym31Pnf.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-ZiqR8hPK.js","conditional-requirements-CFM0id0Q.js","cloneDeep-D3fPbylz.js","_Uint8Array-BcNtDki0.js","isObject-FP1Yky1u.js","ApiExamples-4Sf3CFhl.js","usePlaygroundInputsStore-Ck91l6q0.js","shallow-DapBSR9G.js","isEqual-Clu_sGzx.js","CodeSnippets-DAVHdSX2.js","CodeSnippet-Be6AcO_D.js","use-playground-group-access-CteWws2O.js","Page-_aL_PM_2.js","api-description-markdown-BPoPkVJQ.js","DynamicMarkdown-QJ7LkRm3.js","SectionHeading-DyxPTJti.js","MethodPill-CGjK-dNY.js","getPastedJson-C4YIGTOJ.js","Check2Icon-B7COpIZE.js","axios-CsQoIw0U.js","Markdown-Bquzb4Gw.js","AssistantPageLink-wSgGy_i5.js","dist-Bg48sGSz.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}