InstantCall - TextToSpeech

Send a call using a custom Text.


1 Call - 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.SSS+UTCYes
EndDateIt represents the last date for your scheduled callsaaaa-MM-ggThh:mm:ss.SSS+UTCYes
TypeThe type of Instant Call3 or TextToSpeechYes
MaxRetriesNumber of max retries in case of no answer, busy, etc...integerno
MinutesBetweenRetriesInterval in minutes between 2 retries on the same phone number on the same requestintegerno
TextToSpeechText of the call which will be converted in audio fileStringyes
LanguageCodeLanguage for the conversion of the TextToSpeechCheck our available language codesyes
FirstName
Contact FirstnameString max 128 charactersno
LastNameContact LastnameString max 128 charactersno
IVRRepeats
Repetitions of audio fileintegerno
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
CodeRequestUnique Identification code for your requestbetter to send a GUIDno

Example Application/json or Text/json

Example Application/json Text/json
 {
 "InstantCalls": [
      {
            "NumberToCall": "0039.....",
            "StartDate": "aaaa-MM-ggThh:mm:ss.SSS+01:00",
            "EndDate": "aaaa-MM-ggThh:mm:ss.SSS+01:00",
            "Type": 3,
            "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.SSS+UTCreplaced if exist in InstantCall
EndDateIt represents the last date for your scheduled callsaaaa-MM-ggThh:mm:ss.SSS+UTCreplaced if exist in InstantCall
TypeThe type of Instant Call3 or TextToSpeechreplaced 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 call which will be converted in audioStringYes
LanguageCodeLanguage for the conversion of the TextToSpeechCheck our available language codesYes
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+UTC",
"EndDate": "aaaa-MM-ggThh:mm:ss.SSS+UTC",
"Type": 3,
"MaxRetries": 5,
"MinutesBetweenRetries": 60,
"IVRRepeats": 1,
"CallerId": "39..."
},

{...}

]

yes

Example Application/json or Text/json

Example Application/json or Text/json
 {
 "InstantCalls": [
      {
            "NumberToCall": "0039.....",
            "StartDate": "aaaa-MM-ggThh:mm:ss.SSS+01:00",
            "EndDate": "aaaa-MM-ggThh:mm:ss.SSS+01:00",
            "Type": 3,
            "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....",
            "StartDate": "aaaa-MM-ggThh:mm:ss.SSS+01:00",
            "EndDate": "aaaa-MM-ggThh:mm:ss.SSS+01:00",
            "Type": 3,
            "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 username",
      "username": "your password"
    }
}