Home > API Center > API interface guide
| 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 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
}
| 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 |
{
"status": "0",
"reason": "success",
"data": {
"voiceId": "261019195007910108553"
}
}
| 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 |
Questions about integration? Contact our technical support
LAAFFIC API dedicated TG technical support channel, real-time response to your needs