Get an allocated number
Returns a single phone number allocated to your workspace, whether it is a dedicated number you bought or a shared number managed for you. Numbers you have released are no longer returned. An allocated number is not always enough to send from it: some countries also require an approved registration for the sender.
Request
- Base URL: https://us1.platform.bird.com
- URL: https://us1.platform.bird.com/v1/numbers/{number_id}
- Auth: one of:
- HTTP bearer
- API key in cookie bird_session
Path parameters
Identifier of a number allocated to your workspace, as returned in the id field of GET /v1/numbers.
Identifier of the number, as returned in the id field of GET /v1/numbers.
Headers
Workspace context for the request. Required for dashboard authentication and master keys. Workspace keys and access tokens already identify their workspace; send that workspace or omit the header. A different one is rejected.
Organization context for the request. Required for dashboard authentication. An API key or access token carries its own organization, so send either that organization or no header at all; a different one is rejected.
Response
The number.
Example response
{
"id": "nda_01krdgeqcxet5s7t44vh8rt9mg",
"country_code": "US",
"ownership": {
"submission_id": "csb_01krdgeqcxet5s7t44vh8rt9mg"
},
"pricing": {
"recurring_price": {
"amount": "0.00995",
"currency_code": "EUR"
},
"recurring_period": {
"unit": "month",
"count": 3
},
"intervals_per_charge": 12
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.