---
title: "Post Agent Hold Audio"
method: POST
path: "/v1/convai/agents/{agent_id}/hold-audio"
tags: ["Agents Platform"]
---

# Post Agent Hold Audio

`POST /v1/convai/agents/{agent_id}/hold-audio`

## Request

- Base URL: `https://api.elevenlabs.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.elevenlabs.io/v1/convai/agents/{agent_id}/hold-audio`
- Auth: none declared

Sets the custom hold audio played on loop to callers waiting in the agent's concurrency wait queue. Replaces any previously uploaded clip.

## Path parameters

- `agent_id` string, required: The id of an agent. This is returned on agent creation.

## Headers

- `xi-api-key` string, nullable: Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

## Request body `multipart/form-data`

- BodyPostAgentHoldAudioV1ConvaiAgentsAgentIdHoldAudioPost
  - `hold_audio_file` string, binary, required: An MP3 or WAV file played on loop to callers waiting in the agent's concurrency wait queue. Maximum size 40 MB, maximum duration 180 seconds.

## Response `200`

Successful Response

- PostAgentHoldAudioResponseModel
  - `agent_id` string, required
  - `hold_audio` AgentHoldAudioConfig, required: Custom hold audio played on loop to callers waiting in the agent's queue. Set by uploading a file through the agent hold-audio endpoint. Values sent in agent create or update requests are ignored.
    - `audio_path` string, required: Storage path of the uploaded clip
    - `audio_url` string, required: Public CDN URL of the uploaded clip
    - `original_filename` string, required: Filename of the uploaded clip as provided by the user
    - `duration_secs` number, required: Duration of the uploaded clip in seconds
    - `size_bytes` integer, required: Size of the uploaded clip in bytes

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-11** `8125bd2e0ff9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation/changes/v1/convai/agents/:agent_id/hold-audio/post.md)

---

[API](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation.md) - [All operations](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation/revisions/0e2bfc751634?raw)
