Client: conversations

Handing a conversation to a human.

Browser or server Embed key in the browser, integration key on the server dev · https://api.dev.oprag.ai
TypeScript
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