POST
POST /v1/convai/agents/{agent_id}/merge-proposals — ElevenLabs API
ElevenLabs APICreate A Merge Proposal
- Base URL
- https://api.elevenlabs.io
- Auth
- xi-api-key: <ELEVENLABS_API_KEY>
- Last verified
- 2026-09-30 · upstream hash matched
Actions Try in browser→
Agents: curl -H "Accept: text/markdown" this URL
→ 223 tokens · Vary: Accept
→ 223 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/merge-proposals' \ -H "xi-api-key: $ELEVENLABS_API_KEY" \ -H 'Content-Type: application/json' \ -d '{ "source_branch_id": "source-branch-id", "target_branch_id": "target-branch-id", "title": "example-title", "description": "", "requested_reviewer_user_ids": [ "example-requested-reviewer-user-ids" ], "triage_ticket_id": "triage-ticket-id"}'
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| agent_id | path | string | Yes | The id of an agent. This is returned on agent creation. |
| source_branch_id | body | string | Yes | Branch whose changes should be merged. |
| target_branch_id | body | string | Yes | Branch that should receive the changes. |
| title | body | string | Yes | Short title for the merge_proposal. |
| description | body | string | No | Optional longer description for reviewers. |
| requested_reviewer_user_ids | body | string[] | No | User IDs to request a review from. |
| triage_ticket_id | body | string | No | Triage ticket of this agent that the merge_proposal resolves. Merging it resolves the ticket if still open. |
Response 200 OK
{
"created_merge_proposal_id": "string"
} Get a free ElevenLabs API key → sponsored Affiliate link - we may earn a commission, at no extra cost to you.