Close an existing chat conversation
Closes an active chat conversation and marks it as complete.
put/{version}/{account_id}/{project_id}/chat/close
Request
- Base URLhttps://api.us.poly.ai
- Auth
- API key in header x-api-key
- or API key in header X-TOKEN
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
versionstring required
API version
account_idstring required
Account ID
project_idstring required
Project ID
Headers
X-API-KEYstring required
Your PolyAI API key.
X-TOKENstring required
Agent authentication token (connector).
Request body
Example request
{
"conversation_id": "CONV-1234567890"
}Response
OK
Example response
{
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.