apicheats.dev elevenlabs/llms.txt Raw .md
POST

/v1/convai/triage-tickets

ElevenLabs API

Create Agent Conversation Ticket

Base URL
https://api.elevenlabs.io
Auth
xi-api-key: <ELEVENLABS_API_KEY>
Last verified
2026-09-03 · upstream hash matched
Actions
Agents: curl -H "Accept: text/markdown" this URL
→ 214 tokens · Vary: Accept

Critical gotchas

Authentication uses the non-standard xi-api-key header, not Authorization: Bearer. Sending a Bearer token returns HTTP 401.

Text-to-speech responses are raw binary audio, not JSON. Write the body to a file (--output speech.mp3) rather than parsing it.

cURL

curl -X POST 'https://api.elevenlabs.io/v1/convai/triage-tickets' \  -H "xi-api-key: $ELEVENLABS_API_KEY" \  -H 'Content-Type: application/json' \  -d '{  "conversation_id": "string",  "qa_comment": "string",  "turn_comments": [    {      "turn_index": 0,      "comment": "string"    }  ]}'
Get a free ElevenLabs API key → sponsored

Parameters

Name In Type Required Description
conversation_id body string Yes Conversation this ticket is about.
qa_comment body string No The QA finding covering the whole conversation.
turn_comments body object[] No Optional turn-level comments on what went wrong.

Response 200 OK

{
  "agentqa_ticket_id": "string",
  "workspace_id": "string",
  "owner_user_id": "string",
  "agent_id": "string",
  "needs_clustering": true,
  "issue_type": "knowledge_gap",
  "labels": [
    "string"
  ],
  "conversation_ids": [
    "string"
  ],
  "first_seen_unix_secs": 0,
  "last_seen_unix_secs": 0,
  "qa_comment": "string",
  "ticket_comments": [
    {
      "comment": "string",
      "created_at_unix_secs": 0,
      "owner_user_id": "string"
    }
  ],
  "turn_comments": [
    {
      "turn_index": 0,
      "comment": "string",
      "created_at_unix_secs": 0,
      "owner_user_id": "string"
    }
  ],
  "status": "open",
  "source": "qa",
  "assignee_user_id": "string",
  "created_at_unix_secs": 0,
  "updated_at_unix_secs": 0
}