Home > API Center > API interface guide

 
 

AI Agent Global Status Code

 
Response Status Code
status Description
0 success
-1 Authentication error
-2 Restricted IP access
-10 The customer's balance is insufficient
-16 Timestamp expires
-18 Port program unusual
-20 Data existing
-21 Data validation exception
-22 Parameter exception
-23 Data caps
-24 Data unexisting
-25 Out of time range
-26 Getting fee faily
-29 WorkSpace is disabled
-30 API Key is disabled
-31 IP is not in the whitelist
-32 API Key does not have permission to access the current application
-34 There is no callable number when the task was ended last time. Please start the group call task again.
-35 No number called
-37 The group call task you submitted exceeds the maximum concurrent task limit. Please complete the task before submitting again!
-38 Conversion text and language type are required
-39 Failed to obtain the text language type
-41 Task name already exists
-42 Recall is allowed only when the task is canceled or completed
-43 Editing is allowed only in the waiting and paused states
-46 The maximum number of long text-to-speech conversions per day is 5. You have used up all of them. Please contact the business department for processing.
-47 Text to speech failed
-48 File does not exist
-49 Wrong file source parameter
-50 Audio file ID is required
-51 Base64 file stream and file name are required
-52 AppId does not match API Key
-53 The trigger condition for the on-hook SMS must have one
-54 The task you submitted is wrong, please check and submit again!
-60 The AI speech template does not exist
 
Call Status Enumeration Description
Value Description
1 Connected
2 Connected Abnormal
3 Not Connected
4 Not Connected Abnormal
 
Call Description Enumeration Description
Value Description
1 Effective Call
2 Voicemail
3 Short Duration Hangup
4 No Audio
5 Caller Hangup
6 Callee Busy/Rejected
7 Out of Service
8 Timeout No Answer
10 Line Balance Announcement
 
Encoding Table
Global:
Code Intent Name Remarks
99998 Not called  
99999 Called but not connected  
IG Marketing (ID: starting with 10)
Code Intention Name Remarks
101 Voice mailbox After connecting, the user end speaks through voicemail
102 The customer has not responded  
104 Customer intention unknown  
105 The customer has a clear intention  
106 The client has clearly expressed no intention  
99983 No dialogue content  

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!