phone-numbers

Assign Phone Number to Business Unit

Assign an existing inventory number to a business unit so that BU dials from it. The org's default number is standalone and can't be assigned.

post/v2/phone-numbers/{phone_number_id}/business-units

Request

  • Base URL
    https://api.stuut.ai (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

phone_number_idstring required

Request body

business_unit_idstring required

Business unit to assign the number to

Response

Successful Response

created_atstring date-time required
modified_atstring date-time nullable required
idstring required
phone_numberstring phone required

The number, E.164.

iso_countrystring nullable required

ISO 3166-1 country code of the number.

status'provisioning' | 'active' required
voiceboolean required

Whether the number is voice-capable.

smsboolean required

Whether the number is SMS-capable.

labelstring nullable required

Optional human-friendly label.

is_defaultboolean required

The org's fallback number, used when a partner has no language/country/BU match.

business_identity_idstring nullable required

Legal entity / Twilio Secondary Profile this number is registered under (CNAM/SHAKEN/VI).

objectstring required

String representing the object's type. Objects of the same type share the same value.

Changes

No recorded changes to this operation across all 1 revision of this API.