Add audio items
POST {{baseUrl}}/phone/users/:userId/audios/batch
Use this API to add audio items. You can only upload voice files at this time.
Prerequisites: * Business or Education account * Zoom Phone license
Scopes: phone:write
,phone:write:admin
Rate Limit Label: Heavy
Size and quantity limits for audio attachments: * Up to 5 attachments * Each file size should be no more than 1MB
Request Body
{"attachments"=>[{"audio_type"=>"audio/mpeg, audio/wav", "base64_encoding"=>"TWFuIGlzIGRpc3Rpbmd1aXNoZWQsIG5vdCBvbmx5IGJ5IGhpcyByZWFzb24sIGJ1dCBieSB0aGlz\nIHNpbmd1bGFyIHBhc3Npb24gZnJvbSBvdGhlciBhbmltYWxzLCB3aGljaCBpcyBhIGx1c3Qgb2Yg\ndGhlIG1pbmQsIHRoYXQgYnkgYSBwZXJzZXZlcmFuY2Ugb2YgZG=", "name"=>"hello.mp3"}, {"audio_type"=>"audio/mpeg, audio/wav", "base64_encoding"=>"TWFuIGlzIGRpc3Rpbmd1aXNoZWQsIG5vdCBvbmx5IGJ5IGhpcyByZWFzb24sIGJ1dCBieSB0aGlz\nIHNpbmd1bGFyIHBhc3Npb24gZnJvbSBvdGhlciBhbmltYWxzLCB3aGljaCBpcyBhIGx1c3Qgb2Yg\ndGhlIG1pbmQsIHRoYXQgYnkgYSBwZXJzZXZlcmFuY2Ugb2YgZG=", "name"=>"hello.mp3"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"audios":[{"audio_id":"fPOSdWWqRVqhohLYs7TW9Q","name":"hello.mp3"},{"audio_id":"fPOSdWWqRVqhohLYs7TW9Q","name":"hello.mp3"}]}