v1

latestSwagger 2.0Apache 2.02026-07-13123128517.6 KB
orders

Purchase numbers

Purchase numbers. There are many ways to purchase a number. Set either 'tollFreeCount' or 'localCount' along with some querying fields to purchase numbers by bulk query. Set the list of numbers to purchase by list. Available numbers will be purchased using CallFire credits owned by the user. Make sure the account has enough credits before trying to purchase

post/orders/numbers

Query parameters

fieldsstring

Limit fields received in response. E.g. fields: id, name or fields items (id, name), see more at partial response page.

Request body

authorizePaymentOnlyboolean

~

tollFreeCountinteger

Total count of toll-free numbers requested

localCountinteger

Total count of local numbers requested

prefixstring

Country prefix of requested numbers

citystring

City of requested numbers

statestring

A two-letter state code of requested numbers

zipcodestring

A five-digit Zip code of requested numbers

numbersstring[]

A list of phone numbers in E.164 format (11-digit) to buy. Example: 12132000384

promostring

~

Response

successful operation

idinteger

An id of a resource