Home > API Center > API interface guide
| Parameters | Description | Required | Required |
|---|---|---|---|
| account | Seat account number | Yes | String |
| expires | Credential validity period (seconds) Valid values: 60-28800 | Yes | Integer |
Request URL:
https://api.laaffic.com/v3/cc/seat/createSdkAuthentication
Request Method:
POST
Request Headers:
Content-Type: application/json;charset=UTF-8
Sign: 05d7a50893e22a5c4bb3216ae3396c7c
Timestamp: 1630468800
Api-Key: bDqJFiq9
Request Body:
{
"account": "0705C245_001",
"expires":3600
}
| Parameters | Description | Required |
|---|---|---|
| status | status code,0 is successful. For other failures, please refer to the interface response code | String |
| reason | Failure reason description | String |
| data | Additional response data | String |
| authentication | SDK credential (used to initialize CC-SDK) | String |
{
"status":"0",
"reason":"success",
"data":{
"authentication":"Bearer SDNVerRWZp:0705C245_001:0ecc5e73-4252-42f6-8bf1-3a2d0bf7ea98"
}
}
| status | Description |
|---|---|
| 0 | Success |
| -1 | Authentication error |
| -2 | Authentication error |
| -16 | Timestamp expires |
| -18 | Port program unusual |
| -22 | Parameter exception |
| -24 | Data unexisting |
Questions about integration? Contact our technical support
LAAFFIC API dedicated TG technical support channel, real-time response to your needs