Loading
Cart Total
$0.00
-
Your shopping cart is empty
Loading
Hello! Log in Your Account
New customer? Start here
Audio Management
Storefronts
Customer Management
VoIP Bundle (Subscriptions)
SIP Account Management
Audio Management
Phone Numbers & Call Routing
Phone Calls & CDR Data
VoIP Phone Short Code
eFax Management
Voicemails & Mailboxes
Caller ID
SIP Trunks
Wallboard Statistics
VoIP Phone Provisioning
Call Queueing
Phone Books
VoIP Phone Speed Dial
Text (SMS) Messaging
A Sound represents an audio file used by the system for prompts, greetings and hold music
Become a ResellerFilter:
* You will be charged every time this command is run.
Gets a list of all sounds on an account
Back to top
Request Details
Response Details
This command has no URL/Query String parameters
200 Response
{
"result" : [
{
"audio_type" : 1,
"created_on" : "2023-06-07",
"file_name" : "hold_track_1.mp3",
"name" : "Track 1",
"shared" : false,
"tag" : "Hold Music",
"updated_on" : "2023-06-07",
"uuid" : "31347d42-00bd-44a5-9b5c-20dc4197a2f6"
}
],
"status_code" : 200,
"status_message" : "OK"
}
Gets the details for a specific sound on an account
Back to top
Request Details
Response Details
URL and Query String Parameters
Name
Type
Required
uuid
String
True
The UUID of the Sound to be queried
200 Response
{
"result" : {
"audio_type" : 1,
"created_on" : "2023-06-07",
"file_name" : "hold_track_1.mp3",
"name" : "Track 1",
"shared" : false,
"tag" : "Hold Music",
"updated_on" : "2023-06-07",
"uuid" : "31347d42-00bd-44a5-9b5c-20dc4197a2f6"
},
"status_code" : 200,
"status_message" : "OK"
}
404 Response
{
"result" : {},
"status_code" : 404,
"status_message" : "Not Found"
}
Generates a temporary URL to the sound's audio content
Back to top
Request Details
Response Details
URL and Query String Parameters
Name
Type
Required
uuid
String
True
The UUID of the Sound to be queried
200 Response
{
"result" : {
"content_url" : "content.yay.com/40c6614b-8c5d-48a0-ab6d-cdc4d47f914d"
},
"status_code" : 200,
"status_message" : "OK"
}
404 Response
{
"result" : {},
"status_code" : 404,
"status_message" : "Not Found"
}
Creates a new sound on an account
Back to top
Request Details
Response Details
This command has no URL/Query String parameters
POST body
Name
Type
Required
audio_type
int
False
What type of audio is this?
content
String
True
The Base64 encoded sound content
file_name
String
True
The file name of the Sound
name
String
True
The name of this Sound
tag
String
False
A tag for this Sound file
JSON all-fields example:
{
"audio_type" : 1,
"content" : "VEhJUyBJUyBURVNUIFRFWFQgRk9SIEFVRElPIEZJTEUgQ09OVEVOVA==",
"file_name" : "hold_track_1.mp3",
"name" : "Track 1",
"tag" : "Hold Music"
}
201 Response
{
"result" : {
"audio_type" : 1,
"created_on" : "2023-06-07",
"file_name" : "hold_track_1.mp3",
"name" : "Track 1",
"shared" : false,
"tag" : "Hold Music",
"uuid" : "31347d42-00bd-44a5-9b5c-20dc4197a2f6"
},
"status_code" : 201,
"status_message" : "Created"
}
400 Response
{
"result" : {},
"status_code" : 400,
"status_message" : "Bad Request"
}
Updates the specified sound on an account
Back to top
Request Details
Response Details
URL and Query String Parameters
Name
Type
Required
uuid
String
True
The UUID of the Sound to be updated
PUT body
Name
Type
Required
audio_type
int
False
What type of audio is this?
content
String
True
The Base64 encoded sound content
file_name
String
True
The file name of the Sound
name
String
True
The name of this Sound
tag
String
False
A tag for this Sound file
JSON all-fields example:
{
"audio_type" : 1,
"content" : "VEhJUyBJUyBURVNUIFRFWFQgRk9SIEFVRElPIEZJTEUgQ09OVEVOVA==",
"file_name" : "hold_track_1.mp3",
"name" : "Track 1",
"tag" : "Hold Music"
}
200 Response
{
"result" : {
"audio_type" : 1,
"created_on" : "2023-06-07",
"file_name" : "hold_track_1.mp3",
"name" : "Track 1",
"shared" : false,
"tag" : "Hold Music",
"updated_on" : "2023-06-07",
"uuid" : "31347d42-00bd-44a5-9b5c-20dc4197a2f6"
},
"status_code" : 200,
"status_message" : "OK"
}
400 Response
{
"result" : {},
"status_code" : 400,
"status_message" : "Bad Request"
}
404 Response
{
"result" : {},
"status_code" : 404,
"status_message" : "Not Found"
}
Deletes the specified sound from an account
Back to top
Request Details
Response Details
URL and Query String Parameters
Name
Type
Required
uuid
String
True
The UUID of the Sound to be deleted
204 Response
{
"result" : {},
"status_code" : 204,
"status_message" : "No Content"
}
404 Response
{
"result" : {},
"status_code" : 404,
"status_message" : "Not Found"
}