Respond to a chat
Sends a user message to an existing conversation and returns the agent’s response.
POST
Send a message to an existing chat conversation
Documentation Index
Fetch the complete documentation index at: https://polyai-mintlify-4c3eae2f.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Custom parameters
The respond endpoint supports additional parameters for advanced use cases:Custom metadata to pass to the conversation. This data is accessible in functions through
conv.integration_attributes.Example:Language code for speech recognition (e.g.,
"en-US", "es-ES").Language code for text-to-speech (e.g.,
"en-US", "es-ES").Custom parameters
Custom metadata for this specific message. Accessible in functions during this turn.Example:
Language code for speech recognition (e.g.,
"en-US", "es-ES").Language code for text-to-speech (e.g.,
"en-US", "es-ES").Authorizations
You must request an API Key to use PolyAI APIs.
Headers
Your PolyAI API key.
Agent authentication token (connector).
Path Parameters
API version
Account ID
Project ID
Body
application/json
Response
OK
ID of the conversation
Example:
"CONV-1234567890"
Response message from the agent
Example:
"Transferring you to an agent."
Whether the conversation should be ended
Example:
true
Information about handoff if applicable
Last modified on May 21, 2026
Send a message to an existing chat conversation

