InstantCall - IVR with TTS

Send a call using a previous created IVR on SENDService platform with a custom introduction TextToSpeech.


1 Call - 1 Request

Parameters

ParameterDescriptionObject / Right formatRequired

user

It represents required object for the authorization  

"User": {

"username": "your username",
"password": "your password"
}
Yes
StartDate

It represents date when you want to schedule your calls

aaaa-MM-ggThh:mm:ss.SSS+UTCYes
EndDate

It represents the last date for your scheduled calls

aaaa-MM-ggThh:mm:ss.SSS+UTCYes

Type

The type of Instant Call4 or IVRwithTTSYes

MaxRetries

Number of max retries in case of no answer, busy, etc...integerno

MinutesBetweenRetries

Interval in minutes between 2 retries on the same phone number on the same requestintegerno
ExtensionNumber of the previous created IVR on the SENDSerivce platform.
NB: IVR MUST BE USED IN 1 CAMPAIGN
integeryes
TextToSpeechIntroduction text of the call which will be converted in audio fileStringno
LanguageCodeLanguage for the conversion of the introduction TextToSpeechCheck our available language codesyes
FirstName
Contact FirstnameString max 128 charactersno
LastNameContact LastnameString max 128 charactersno
IVRRepeats

Repetitions of audio file or introduction audio file on IVR.

integerno
NumberTo CallPhone Number of your contact wich will be calledstring (it must be inserted with the international prefix f.e. 0039)yes
CallerIdCaller phone number, please communicate it to your reseller.string - fixed number inserted with the international prefix without 00 (f.e. 39....)yes
CodeRequest

Unique Identification code for your request

better to send a GUIDno

Example Application/json or Text/json

Example Application/json or Text/json
{
 "InstantCalls": [
        {
 
            "NumberToCall": "0039......",
            "Extension": 200980,
            "StartDate": "aaaa-MM-ggThh:mm:ss.SSS+01:00",
            "EndDate": "aaaa-MM-ggThh:mm:ss.SSS+01:00",
            "Type": 4,
            "MaxRetries": 5,
            "MinutesBetweenRetries": 60,
            "IVRRepeats": 1,
            "TextToSpeech": "Welcome to ASP.NET Web API! Modify the code in this template to jump-start your ASP.NET Web API development.",
            "CallerId": "39.......",
            "LanguageCode": "it-IT-F1"
        }
 ],
    "User": {
      "password": "your password",
      "username": "your username"
    }
}

More Calls - 1 Request

Parameters

ParameterDescriptionObject / Right formatRequired
userIt represents required object for the authorization  

"User": {

"username": "your username",
"password": "your password"
}
yes
StartDateIt represents date when you want to schedule your callsaaaa-MM-ggThh:mm:ss.SSSreplaced if exist in InstantCall
EndDateIt represents the last date for your scheduled callsaaaa-MM-ggThh:mm:ss.SSSreplaced if exist in InstantCall
TypeThe type of Instant Call4 or IVRWithTTSreplaced if exist in InstantCall
MaxRetriesNumber of max retries in case of no answer, busy, etc...integerreplaced if exist in InstantCall
MinutesBetweenRetriesInterval in minutes between 2 retries on the same phone number on the same requestintegerreplaced if exist in InstantCall
TextToSpeechText of the introduction TTS of the call which will be converted in audio fileStringYes
LanguageCodeLanguage for the conversion of the TextToSpeechCheck our available language codesYes
ExtensionNumber/Extension of the previous created IVR on the SENDSerivce platformStringYes
FirstNameContact FirstnameString max 128 charactersreplaced if exist in InstantCall
LastNameContact LastnameString max 128 charactersreplaced if exist in InstantCall
IVRRepeatsRepetitions of audio file or introduction audio file on IVR.integerreplaced if exist in InstantCall
NumberTo CallPhone Number of your contact wich will be calledstring (it must be inserted with the international prefix f.e. 0039)replaced if exist in InstantCall
CallerIdCaller phone number, please communicate it to your reseller.string - fixed number inserted with the international prefix without 00 (f.e. 39....)replaced if exist in InstantCall
CodeRequestUnique Identification code for your requestbetter to send a GUIDreplaced if exist in InstantCall
InstantCallsAn array with instant calls which have same parameters of one call

"InstantCalls": [
{
"NumberToCall": "0039...",
"TextToSpeech": ".....",
"StartDate": "aaaa-MM-ggThh:mm:ss.SSS",
"EndDate": "aaaa-MM-ggThh:mm:ss.SSS",
"Type": 3,
"MaxRetries": 5,
"MinutesBetweenRetries": 60,
"IVRRepeats": 1,
"CallerId": "39..."
},

{...}

]

yes

Example Application/json or Text/json

Example Application/json Text/json
{
 "InstantCalls": [
        {
 
            "NumberToCall": "0039......",
            "Extension": 200980,
            "StartDate": "aaaa-MM-ggThh:mm:ss.SSS+01:00",
            "EndDate": "aaaa-MM-ggThh:mm:ss.SSS+01:00",
            "Type": 4,
            "MaxRetries": 5,
            "MinutesBetweenRetries": 60,
            "IVRRepeats": 1,
            "TextToSpeech": "Welcome to ASP.NET Web API! Modify the code in this template to jump-start your ASP.NET Web API development.",
            "CallerId": "39.......",
            "LanguageCode": "it-IT-F1"
        },
        {
 
            "NumberToCall": "0039......",
            "Extension": 200980,
            "StartDate": "aaaa-MM-ggThh:mm:ss.SSS+01:00",
            "EndDate": "aaaa-MM-ggThh:mm:ss.SSS+01:00",
            "Type": 4,
            "MaxRetries": 5,
            "MinutesBetweenRetries": 60,
            "IVRRepeats": 1,
            "TextToSpeech": "Welcome to ASP.NET Web API! Modify the code in this template to jump-start your ASP.NET Web API development.",
            "CallerId": "39.......",
            "LanguageCode": "it-IT-F1"
        }

 ],
    "User": {
      "password": "your password",
      "username": "your username"
    }
}