Purchase a phone number
Changed onStarts a phone-number purchase. Poll the returned phone number for status updates.
Request
- Base URLhttps://api.mobilerun.ai
- URLhttps://api.mobilerun.ai/numbers/phones
- AuthHTTP bearer
Headers
Idempotency-Key: 1-255 printable ASCII characters. Same key with a different request body is a 422 idempotency_key_reused. A retryable in-flight duplicate is a 409 with Retry-After and x-should-retry: true; a terminal duplicate is a 409 with x-should-retry: false. A replay returns the current resource state with Idempotent-Replayed: true.
Request body
Example request
{
"country": "de",
"label": "Support line"
}Response
Number purchase accepted — poll GET /numbers/phones/{id}
Changes
- breaking
removed the required property
////from the response with the status - breaking
removed the required property
////from the response with the status - breaking
removed the required property
////from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - warning
deleted the
headerrequest parameterIdempotency-Key - warning
removed the request property
- info
added the new optional
headerrequest parameteridempotency-key - info
added the new optional request property
- info
added the new
included_onlyenum value to the request property - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the optional property
////to the response with the status - info
added the required property
////to the response with the status - info
added the required property
////to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking
- info
endpoint added
- info