Conversations
Hand over to AI
POST
Hand the conversation to the AI agent, optionally with a private instruction it must follow.
bearer conversations:writeheader
AuthorizationBearer <token>API key (rsl_live_…) from Settings → Developers.
Scope: conversations:write
conversationId*stringConversation id with channel prefix, e.g. chat_k57… or email_j97….
Match
^(chat|email)_[a-z0-9]+$application/json- body
instruction?stringPrivate instruction for the AI (never shown to the customer), e.g. 'Offer a 10% voucher, max once.'
Length
length <= 4000Success
application/json- response
conversationId*stringaiReplyScheduled*booleancurl -X POST "https://example.com/conversations/string/handoff" \ -H "Content-Type: application/json" \ -d '{}'{ "conversationId": "string", "aiReplyScheduled": true}