Post agent 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.

パスパラメータ

agent_idstring必須
The id of an agent. This is returned on agent creation.

ヘッダー

xi-api-keystringオプション

リクエスト

This endpoint expects a multipart form containing a file.
hold_audio_filefile必須
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.

レスポンス

Successful Response
agent_idstring
hold_audioobject

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.

エラー

422
Hold Audio Create Request Unprocessable Entity Error