Skip to main content
PUT
cURL

Authorizations

Authorization
string
header
required

Admin API key (format: sk_admin_*) for organization-level operations

Path Parameters

phoneNumberId
string
required

Unique identifier for a Phone Number. Format: ph_[test_]{ksuid}

Pattern: ^ph_(?:test_)?[a-zA-Z0-9]{27}$
Example:

"ph_2DbBs7GWhGvVNJGrDXr5RG0mBWI"

Body

application/json
appIds
string[]
required

Array of app IDs to assign the phone number to

Unique identifier for a App. Format: app_[test_]{ksuid}

Pattern: ^app_(?:test_)?[a-zA-Z0-9]{27}$
Example:

Response

Phone number app assignments updated successfully

phoneNumberId
string
required

Unique identifier for a Phone Number. Format: ph_[test_]{ksuid}

Pattern: ^ph_(?:test_)?[a-zA-Z0-9]{27}$
Example:

"ph_2DbBs7GWhGvVNJGrDXr5RG0mBWI"

number
string
required
numberType
enum<string>
required
Available options:
local,
tollfree,
mobile
location
string
required
features
string[]
required
apps
object[]
required
createdAt
string
required
updatedAt
string
required