Chats
Toggle AI control for chat conversation
Enables or disables AI handling for the chat. When disabling, you may optionally specify aiDisableReason; if omitted, it defaults to manual.
Authorization
access-token X-Access-Token<token>
Enter your Access Token (format: happ_...)
In: header
Request Body
application/json
AI control state and optional disable reason
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://example.com/api/chats/{id}/ai-control" \ -H "Content-Type: application/json" \ -d '{ "isUnderAiControl": false, "aiDisableReason": "manual" }'{ "message": "ai disabled", "aiControlEnabled": false}Empty
Empty
Empty