Numbersv4

List number purchases

GET/numbers/purchases

List the organization's SMS and Voice number purchases, newest first. Filter with status=provisioning to find orders still settling with the carrier. OAuth apps need numbers:read.

Headers

AuthorizationRequiredstring

Your API key, sent as a bearer token: Authorization: Bearer <api_key>. Editing this stays in sync with the API key box on the right.

Bearer

Query parameters

statusoptionalstring

Filter by purchase status (provisioning, completed, or failed).

"provisioning""completed""failed"
limitoptionalinteger

Maximum number of items to return per page. Must be between 1 and 200; defaults to 50. Combine with cursor to paginate.

Returns

dataoptionalNumberPurchase[]

Array of NumberPurchase

purchase_idRequiredstring

Purchase id (pur_...).

statusRequiredstring

completed once every number is an active channel; failed when the carrier refused the order.

"provisioning""completed""failed"
phone_numbersRequiredstring[]
productsRequiredTelecomProduct[]
erroroptionalobject

Present on a failed purchase.

codeoptionalstring
created_atRequiredinteger

Epoch ms.

Response codes

200The organization's number purchases
400`invalid_status` or `invalid_limit`.
401Your API key is missing or invalid. Pass it as a bearer token.

Sends a live request with your values and shows the real response below. Your key is stored only in this browser.

Request
curl -X GET https://api.blooio.com/v4/numbers/purchases?status=provisioning&limit=50 \
Response objectexample
{  "data": [    {      "purchase_id": "obj_a1b2c3d4",      "status": "provisioning",      "phone_numbers": [        "+15551234567"      ],      "products": [        "sms"      ],      "error": {        "code": "number_unavailable"      },      "created_at": 0    }  ]}