アウトバウンドタスク

List phone numbers

Get the list of caller ID numbers required to create an outbound task.

GET/openapi/trunk_numbers

リクエスト

レスポンス

200 OK
[].idinteger必須

号码ID

[].numberstring必須

号码

[].directionstring必須

号码方向

[].concurrentinteger必須

并发数量

サンプルコード

curl -X GET 'https://openapi.voicefox.ai/openapi/trunk_numbers' \
  -H 'Authorization: Bearer <YOUR_TOKEN>' \
  -H 'Content-Type: application/json'

レスポンス例

[
  {
    "id": 0,
    "number": "号码",
    "direction": "号码方向",
    "concurrent": 0
  }
]