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

/v1/convai/agents/{agent_id}/triage-tickets

ElevenLabs API

Create Manual Agent 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
→ 195 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/agents/agent-id/triage-tickets' \  -H "xi-api-key: $ELEVENLABS_API_KEY" \  -H 'Content-Type: application/json' \  -d '{  "qa_comment": "string"}'
Get a free ElevenLabs API key → sponsored

Parameters

Name In Type Required Description
agent_id path string Yes path parameter agent_id.
qa_comment body string Yes What the ticket is about, e.g. a follow-up task for the agent. This is shown as the ticket title.

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
}