Home > API Center > API interface guide

 
 

Send Call

POST
https://api.laaffic.com/v3/voice/flashcall
Send a flashCall call
 
Request Parameters
Parameter Description Required Type
appId Voice application ID Yes String
callee Callee number, consisting of 7-18 digits (country code + mobile number). Yes String
maxRingingTime Maximum ringing duration (seconds). Default is 60; accepts 1-120. No Integer
flashCallValidDuration FlashCall valid duration (seconds). Default is 60; accepts 30-600. If the call is still not placed after this duration, it will no longer be dialed. No Integer
 
Request Example
Request URL: 
  https://api.laaffic.com/v3/voice/flashcall
Request Method:
  POST
Request Headers:
  Content-Type: application/json;charset=UTF-8
  Sign: 05d7a50893e22a5c4bb3216ae3396c7c
  Timestamp: 1630468800
  Api-Key: bDqJFiq9
Request Body:
{
    "appId": "rtnrc",
    "callee": "639191700000",
    "maxRingingTime": 15,
    "flashCallValidDuration": 30
}
 
Response Parameters
Parameter Description Type
status Status code. 0 means success; for other failure codes, see Response Status Code String
reason Reason description String
data Response body String
voiceId Unique record ID String
 
Response Example
{
    "status": "0",
    "reason": "success",
    "data": {
        "voiceId": "261019195007910108553"
    }
}
 
Response Status Code
status Status Description
0 Success
-1 Account authentication error
-2 IP restricted
-16 Timestamp expired
-18 System error
-20 Data already exists
-22 Parameter error
-23 Data limit reached
-63 WorkSpace mismatch
-75 Please contact your account manager

Was this page helpful?

Questions about integration? Contact our technical support

LAAFFIC API dedicated TG technical support channel, real-time response to your needs

Contact via Telegram

Telegram
WhatsApp
Chat with us!
Need help?
Click here and start chatting with us!