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

PATCH /v1/convai/agents/{agent_id}/merge-proposals/{merge_proposal_id} — ElevenLabs API

ElevenLabs API

Update 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
→ 219 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 PATCH 'https://api.elevenlabs.io/v1/convai/agents/agent-id/merge-proposals/merge-proposal-id' \  -H "xi-api-key: $ELEVENLABS_API_KEY" \  -H 'Content-Type: application/json' \  -d '{  "title": "example-title",  "description": "example-description",  "requested_reviewer_user_ids": [    "example-requested-reviewer-user-ids"  ],  "close": false}'

Parameters

Name In Type Required Description
agent_id path string Yes The id of an agent. This is returned on agent creation.
merge_proposal_id path string Yes Unique identifier for the merge_proposal.
title body string No New title for the merge_proposal.
description body string No New description for the merge_proposal.
requested_reviewer_user_ids body string[] No Replacement list of user IDs to request a review from.
close body boolean No When true, close the merge_proposal without merging.

Response 200 OK

{
  "id": "string",
  "agent_id": "string",
  "source_branch_id": "string",
  "target_branch_id": "string",
  "source_tip_version_id_at_creation": "string",
  "title": "string",
  "description": "",
  "requested_reviewer_user_ids": [
    "string"
  ],
  "reviews": [
    {
      "user_id": "string",
      "state": "approved",
      "submitted_at": 0,
      "comment": "",
      "reviewer_role": "admin"
    }
  ],
  "comments": [
    {
      "id": "string",
      "user_id": "string",
      "body": "string",
      "created_at": 0
    }
  ],
  "outcome": {
    "status": "open"
  },
  "created_at": 0,
  "updated_at": 0,
  "author_user_id": "string",
  "access_info": {
    "access_source": "creator",
    "creator_email": "[email protected]",
    "creator_name": "John Doe",
    "is_creator": true,
    "role": "admin"
  }
}
Get a free ElevenLabs API key → sponsored

Affiliate link - we may earn a commission, at no extra cost to you.