Send Voice Message
Base URL:POST: https://api.smsgatewayapi.com/v1/voice/send
Parameters:
Parameter | Input | Description | |
---|---|---|---|
Required | client_id | API client ID | Can be found in your api documentation |
Required | client_secret | API client secret | Can be found in your api documentation |
Required | message | message | the message to be sent |
Required | to | destination number | the number(s) that will receive the message |
Required | sender | sender | The number or name of the sender. A number can't be longer than 14 characters.A name can't be longer than 11 characters and can't contain special characters |
Optional | date | Date and time the number will be sent | Format: yyyy-MM-dd HH:mm. If not provided, the message will be sent as soon as possible |
Optional | reference | custom reference | String of max. 75 characters |
Optional | test | true/false | The system will check all parameters but will not send an SMS message (no credits used). |
Example request :
{ "message": "Example", "to": "{nr}", "date":"2019-10-15 15:30", "sender": "11111111111" }
If no date is provided, the message will be sent as soon as possible.
Example response:
{ "messageid": "h2md1ewkyzjkuyn9ak7pryw1evtyw3x" }