Get an available phone number
Returns a single phone number available for purchase, whether it is already in inventory or can be acquired for you. Numbers supplied through a carrier remain available only while the carrier has them, so a number listed a moment ago may already be gone. A 404 means the number is currently unavailable for sale.
Request
- Base URL: https://us1.platform.bird.com
- URL: https://us1.platform.bird.com/v1/numbers/available/{number}
- Auth: one of:
- HTTP bearer
- API key in cookie bird_session
Path parameters
Phone number in E.164 format. The leading + is optional.
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 available phone number.
Example response
{
"country_code": "US",
"pricing": {
"setup_price": {
"amount": "0.00995",
"currency_code": "EUR"
},
"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 3 revisions of this API.