Send a Voice SMS
This request is used to send a Voice SMS to a mobile phone
URL
POST https://api.voicepartner.fr/v1/tts/send
Limit: 2000 requests per hour
Required Parameters
apiKey
text
Text of the voice message. A pause between words is possible.
tokenAudio
Identifier of the audio file; the "text" parameter will not be taken into account
lang
The language the message is sent in
phoneNumbers
Recipients' mobile phone numbers. To send multiple messages, the numbers must be separated by commas. They can be:
in national format (06xxxxxxxx) or international format (+336xxxxxxxx), for French numbers.
Optional Parameters
speechRate
The speech rate of the message. Only effective when using text. The supported range is from 0.5 (slowed down speech) to 2 (sped up speech). Values below 0.5 will be replaced with 0.5 and values above 2 will be replaced with 2. The default speed is 1.
notifyUrl
Callback URL for the status of the sent voice SMS, sent as POST in JSON format
scheduledDate
Send date of the message, in YYYY-mm-dd H:m:00 format (e.g. 2021-02-02 14:15:00). Only set this if you want the SMS to be sent later.
audioComplementary
Identifier of the audio file that will be dropped if the recipient does not answer.
Pause between words
Requests
Response
Last updated