---
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`

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.

## 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

[Change 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/48a38e3b0dbd?raw)
