Get a number
Trillet OEM API: Needs resources:read.
GET
Needs resources:read. A number that is not in the tenant returns 404 number_not_found.
Loading code example
Loading code example
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
tenantIdstringrequired
The tenant ID.
Pattern:
^[a-fA-F0-9]{24}$numberIdstringrequired
Pattern:
^[a-fA-F0-9]{24}$Response
application/json
The number.
objectstringrequiredidstringrequiredUse it as phoneNumberId when binding the number to an agent.
Pattern:
^[a-fA-F0-9]{24}$tenantIdstringrequiredPattern:
^[a-fA-F0-9]{24}$phoneNumberstringrequiredE.164 format.
providerstring | nulltypestring | nullexternalbooleanrequiredtrue for numbers you registered yourself.
statusstring | nullagentIdstring | nullcallFlowIdstring | nullbillinganyPresent for numbers bought through Trillet OEM, null for your own numbers.
createdAtstring | null<date-time>Last updated on