Send Voice

Send voice messages

https://frogapi.wigal.com.gh/api/v3/voice/send

Request Object

Field Type Description
callerid string The caller ID used for the voice call. Note: If you don't add a caller ID, a default one will be used. If you want a specific caller ID, you must subscribe to it.
soundurl string URL to the sound file to be played. Accepted sound: WAV file (Channels: mono, Format: wav(a-law), Sample rate: 8KHz, Bit rate: 64kbps)
servicetype string The type of service. Default is "CALL"
destinations array Array of destination objects containing destination phone number and message ID
destinations[].destination string Recipient Phone Number
destinations[].msgid string Your message ID

Response Object

Field Type Description
status string The status of the request
message string The message response

Responses

Field Type Description
status string Returns "ACCEPTD" when voice message is successfully accepted for processing
message string Returns "Message Accepted For Processing" on successful request
Field Type Description
status string Error status code ("INVALID_REQUEST")
message string Detailed error message explaining the issue
Field Type Description
status string Error status code ("UNAUTHORIZED")
message string Message Response
Field Type Description
status string Error status code ("FORBIDDEN")
message string Message Response
Field Type Description
status string Error status code
message string Detailed error message explaining the issue
Field Type Description
status string Returns "ERROR" for server errors
message string Generic error message "Internal server error"