Phone Numbers (Unlimited)

Purchase phone numbers

Purchase one or more phone numbers for a specified duration and locale. Only certain locales support bulk quantities - please contact support if you need more info. The response includes the order number (orderId), which GET /orders can look up.

post/purchase

Request

  • Base URL: https://api.quackr.io
  • URL: https://api.quackr.io/purchase
  • Auth: API key in header x-api-key

Request body

duration'halfDay' | 'oneDay' | 'oneWeek' | 'oneMonth' | 'sixMonths' | 'twelveMonths' required
localestring required
quantityinteger
carrier'US1' | 'US2'

(US locale only) Select a specific carrier.

receiveCallsboolean

(US locale only) Enable the number to receive voice calls. Incoming calls will be transcribed and delivered as SMS messages to your stored messages.

autoRenewboolean

Automatically renew the number before it expires, using the same duration.

Example request

{
  "duration": "oneWeek",
  "locale": "US",
  "quantity": 2,
  "carrier": "US1"
}

Response

Successfully purchased phone numbers

durationstring nullable
pricestring
localestring
orderIdstring

This order's number. Every purchase and renewal gets one, always in this format: QK- and 8 letters and digits. Quote it to support, and look the order up with GET /orders?orderId=...

successboolean

Example response

{
  "phoneNumbers": [
    {
      "id": 12345,
      "number": "1258747889"
    },
    {
      "id": 12346,
      "number": "1258746891"
    }
  ],
  "duration": "1 week",
  "price": "25.98",
  "locale": "US",
  "orderId": "QK-7K3M9P2X",
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.