This endpoint is deprecated.

Purchase number

DEPRECATED:
SUNSET:
SUCCESSOR:
Jan 20, 2024.
Not planned
Submit resource request

Using the number ID or number, this method enables you to buy a new number. For buying a US number, only the number should be provided. For all other purchases, only the numberKey must be provided.

For purchasing US numbers, it is not advisable to use this method, but rather its successor.

Please log in to see full path URL. Learn why.
post
/numbers/1/numbers
Request rate limit:
1 requests / second (per account)
Request Body schema:
application/json
collapse all -

Either numberKey of the number to be purchased or a number needs to be provided

numberKey
string
number
string
applicationId
string [ 0 .. 255 ] characters

ID of the Application that would be associated with the number.

entityId
string [ 0 .. 255 ] characters

ID of the Entity that would be associated with the number.

Responses

200

OK

201

Created

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

429

Too Many Requests

500

Internal Server Error

Request samples

Content type
application/json
Example

numberKey

Copy
Collapse all
{
  • "numberKey": "58B3840032C7774BAC840EEEA2C23A44"
}

Response samples

Content type
application/json
Copy
Collapse all
{
  • "numberKey": "58B3840032C7774BAC840EEEA2C23A44",
  • "number": "447860041117",
  • "country": "GB",
  • "type": "VIRTUAL_LONG_NUMBER",
  • "capabilities":
    [
    • "SMS"
    ],
  • "shared": false,
  • "price":
    {
    • "pricePerMonth": 5,
    • "setupPrice": 0,
    • "currency": "EUR"
    }
}

Encountering issues

Contact our support

What's new? Check out

Release Notes

Unsure about a term? See

Glossary

Research panel

Help shape the future of our products
Learn more
Service status

Copyright @ 2006-2025 Infobip ltd.