Public developer API

GET /v1/virtual-numbers/orders

Lists recent number orders and their available phone/SMS details for the authenticated organization.

Access

A project-specific API key (Authorization: Bearer dapi_live_...) and its Business ID (X-Business-Id). Rate limited per business (120 calls a minute by default).

Query parameters

FieldTypeRequiredDescription
limitintegernoNumber of orders from 1 to 100 (default 20).

Example request

curl --request GET \
  --url 'https://production.dutchapi.co/v1/virtual-numbers/orders' \
  --header 'X-Business-Id: YOUR_BUSINESS_ID' \
  --header 'Authorization: Bearer bsk_live_YOUR_BUSINESS_SECRET'

Response 200

{
  "data": [
    {
      "transactionId": "vnm_8f2c1a",
      "status": "active",
      "service": "whatsapp",
      "country": "United States",
      "operator": "Carrier A",
      "phoneNumber": "+12025550123",
      "providerOrderReady": true,
      "providerStatus": "RECEIVED",
      "expiresAt": null,
      "totalUsd": 2,
      "currency": "USD",
      "smsCode": null
    }
  ]
}

Errors

StatuserrorMeaning
403insufficient_scopeThis project key is not allowed to do that.
503virtual_number_orders_unavailableCould not load number orders.

Related references

Browse the complete endpoint directory, the developer portal and the security and controls guide.