Outbound tasks
Append phone numbers
PUT
/openapi/task/{taskId}/append_phoneRequest
Parameters
taskIdintegerrequiredPath parameter · Task ID
Request body
itemsobject[]required
[].extraobject
Variables associated with the phone number; empty if none
姓名string
性别string
[].numberstringrequired
Phone number
Response
200 OK
No response body
Sample code
curl -X PUT 'https://openapi.voicefox.ai/openapi/task/{taskId}/append_phone' \
-H 'Authorization: Bearer <YOUR_TOKEN>' \
-H 'Content-Type: application/json' \
-d '{
"items": [
{
"extra": {
"姓名": "string",
"性别": "string"
},
"number": "string"
}
]
}'