forked from nxtele/http-api-document
-
Notifications
You must be signed in to change notification settings - Fork 1
AI Agent ‐ Append Contacts to an Existing Task
Jcateye edited this page Dec 26, 2025
·
4 revisions
Append additional contact phone numbers to an existing outbound task.
-
URL:
https://api-hk.nxlink.ai/openapi/aiagent/call/append -
Method:
POST -
Content-Type:
application/json - Authentication Required: Yes
NXLink is deployed across multiple global regions. Please select the appropriate endpoint based on your business location.
| Code | Region | NXLink Website | API Gateway |
|---|---|---|---|
| APAC | Hong Kong | https://app.nxlink.ai |
https://api-hk.nxlink.ai |
| AMER | Americas | https://chl-nxlink.nxcloud.com |
https://chl-api.nxlink.ai |
| APAC (IDN) | Indonesia | https://idn.nxlink.ai |
https://api-idn.nxlink.ai |
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| accessKey | String | Yes | AK-6230339248928541113-2133 |
User access key |
| ts | String | Yes | 1655710885431 |
Request timestamp in milliseconds. Maximum allowed time drift is 60 seconds |
| bizType | String | Yes | 100 |
Business type, fixed value |
| action | String | Yes | nxai |
Business action, fixed value |
| sign | String | Yes | 6e9506557d1f289501d333ee2c365826 |
API request signature (see common authentication rules) , Signature Algorithm |
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| taskId | String | Yes | "52145b00-abc9-4a87-94c2-ed1e1e42ec1c" |
Task ID |
| countryCode | String | No | "86" |
Country calling code |
| list | Array | Yes | List of contacts to append |
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| contactId | String | Yes | "52145b00-abc9-4a87-94c2-ed1e1e42x4rfvmh" |
Contact ID (globally unique) |
| name | String | Yes | "Jones" |
Contact name |
| phoneNumber | String | Yes | "86130XXXX" |
Phone number |
| params | Array | No | Custom variables |
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| name | String | Yes | "key1" |
Variable name (must match an existing variable in the workflow) |
| value | Object | No | "value1" |
Variable value |
{
"taskId": "52145b00-abc9-4a87-94c2-ed1e1e42ec1c",
"countryCode": "86",
"list": [
{
"contactId": "52145b00-abc9-4a87-94c2-ed1e1e42xki093",
"name": "name1",
"phoneNumber": "86130XXXXX",
"params": [
{
"name": "key1",
"value": "value1"
}
]
}
]
}| Parameter | Type | Description |
|---|---|---|
| code | Integer | Result code |
| message | String | Result message |
| traceId | String | Trace ID for request tracking |
| data | Object | Response payload |
| Parameter | Type | Description |
|---|---|---|
| errList | Array | Error list containing records that failed to be imported |
| successCount | Integer | Number of records successfully imported |
| totalCount | Integer | Total number of processed records |
| Parameter | Type | Description |
|---|---|---|
| phoneNumber | String | Phone number that failed to be imported |
| reason | String | Failure reason |
{
"code": 0,
"message": null,
"traceId": null,
"data": {
"errList": [
{
"userName": "lucy",
"userPhone": "1312895-xxx",
"errMsg": "Illegal phone number format:1312895-xxx"
}
],
"successCount": 1,
"totalCount": 2
}
}{
"code": 20000,
"message": "Duplicate contactIds are not allowed: 52145b00-abc9-4a87-94c2-ed1e1e42xki0931",
"traceId": "dbdd93a9-cb7c-4c0d-8f98-01755b1883b6"
}| Code | Description |
|---|---|
| 1001 | Authentication failed (missing public parameters) |
| 1002 | Authentication failed (parameter error) |
| 1003 | Authentication failed (invalid signature) |
| 1004 | Authentication failed (timestamp expired) |
| 1005 | Authentication failed (insufficient authority) |
| 20000 | Business Error |
Introduction
- Send Message
- Mark Incoming Message as Read
- Upload Media File
- Get Media File
- Delete Media File
- Webhook
- Query Number Information
- Query Message Template
- Create Message Template
- Edit Message Template
- Delete Message Template
- Upload Template Example File
- Embedded Page Login
- Create Client Application
- List of Phone Numbers for Client Application
- Get Verification Code
- Verify Verification Code
- Create Local Client
Short message
Voice
Call Center(NXLink)
- Web Iframe
- Manual Dial Record
- Manual Dial Record Query By orderId
- List Agent Information
- List Agent Status
- List Queue
- List Agents In Queue
- List Agent Efficiency
- Update Queue Agents
- Create AutoDial Task
- Webhook - Manual Dial
AI Agent(NXLink)
- AI Agent Task List
- Query Call Records
- Append Contacts to an Existing Task
- Delete Contacts
- Call Record Callback
Call Center(Callbot)
- Callbot API Summary
- Callbot API Authorization
- Callbot API Ping
- Create Auto Dial Task
- Add Contact List To Task
- Create Task And Add Contact
- Start Or Pause Task
- Update Task Parameters
- Get List Task
- List Call
- List Task Orders
- Stop Order
- Get Call Detail By Order
- Webhook - By Call
- Webhook - By Order
- Webhook - Task Status
Flash Call
Short links
邮件验证码
DID号码
通用
号码检测