OpenPhn docs
Referenceproviders

Set active outbound number

Set the active outbound number used for future calls. Must be a number owned by the connected Twilio account.

POST
/v1/providers/numbers/select

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

phone_number*Phone Number

E.164 phone number, e.g. +15551234567

Response Body

application/json

application/json

curl -X POST "https://loading/v1/providers/numbers/select" \  -H "Content-Type: application/json" \  -d '{    "phone_number": "string"  }'
{
  "active_number": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}