Get Long Code Number Details

Get the details of a specific Long code nnumber that you own.

Get Long Code number by ID

get

This endpoint returns the information of a Long Code Number assigned to the workspace given its ID. You may use the EndpointID as well to search for your long code number.

Authorizations
HTTPRequired

Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')

Path parameters
workspaceIdstring · uuidRequired

The ID for the workspace.

Example: d386a801-ee8d-4aba-a7e4-78671bd3b11e
longCodeNumberIdstringRequired

Your long code number/endpoint ID.

Example: 3d7eb12b-9101-450d-923b-5ffcd9e989a9
Responses
chevron-right
200

OK

application/json
idstring · uuidRequired

The unique identifier of the long code number. The endpoint ID is the same.

Example: 41e3cf43-4386-464a-a1ee-e6ef6fd6883d
endpointIdstring · uuidRequired

The unique identifier of the endpoint. The long conde ID is the same.

Example: 41e3cf43-4386-464a-a1ee-e6ef6fd6883d
numberStringstringRequired

The phone number in E.164 format.

Example: +14155552671
countryCodestring · iso3166-1Required

The country code in ISO 3166-1 alpha-2 format.

Example: US
typestring · enumOptional

The type of long code number.

Possible values:
createdAtstring · date-timeRequired
updatedAtstring · date-timeRequired
deprovisionAtstring · date-timeOptional

The date and time when the long code number should be deprovisioned.

get
/workspaces/{workspaceId}/numbers-long-code/{longCodeNumberId}

Last updated

Was this helpful?