Outbound tasks
List phone numbers
Get the list of caller ID numbers required to create an outbound task.
GET
/openapi/trunk_numbersRequest
Response
200 OK
[].idintegerrequired
号码ID
[].numberstringrequired
号码
[].directionstringrequired
号码方向
[].concurrentintegerrequired
并发数量
Sample code
curl -X GET 'https://openapi.voicefox.ai/openapi/trunk_numbers' \
-H 'Authorization: Bearer <YOUR_TOKEN>' \
-H 'Content-Type: application/json'Response example
[
{
"id": 0,
"number": "号码",
"direction": "号码方向",
"concurrent": 0
}
]