Add audio items
POST {{baseUrl}}/phone/users/:userId/audios/batch
Adds the audio items. You can only upload voice files at this time. Only the admin or user can add your audio and directly pass the
me
value instead of the
userId
parameter.
Prerequisites:
- Business or Education account
- Zoom Phone license
Size and quantity limits for audio attachments:
- Up to 5 attachments
- Each file size should be no more than 1MB
Scopes:
phone:write
,
phone:write:admin
Granular Scopes:
phone:write:batch_audios
,
phone:write:batch_audios:admin
Rate Limit Label
:
HEAVY
Request Body
{"attachments"=>[{"audio_type"=>"<string>", "base64_encoding"=>"<string>", "name"=>"<string>"}, {"audio_type"=>"<string>", "base64_encoding"=>"<string>", "name"=>"<string>"}]}
HEADERS
| Key | Datatype | Required | Description |
| Content-Type
| string | | |
| Accept
| string | | |
RESPONSES
status: Created
{"audios":[{"audio_id":"\u003cstring\u003e","name":"\u003cstring\u003e"},{"audio_id":"\u003cstring\u003e","name":"\u003cstring\u003e"}]}