Client: conversations
Handing a conversation to a human.
const { escalated } = await oprag.conversations.escalate({
projectId: "proj_abc123",
conversationId,
visitorId,
}); Escalation creates a ticket on the project and notifies whatever integrations the workspace has configured. All three ids are required — the ticket is useless without the thread it came from.
Underneath: POST /v1/projects/{projectId}/conversations/{conversationId}/escalate.
Ready to ship?
Get started free