VIRTUAL NUMBERS
Retrieve a virtual number order
GEThttps://production.dutchapi.co/v1/virtual-numbers/orders/:reference
Returns one organization-scoped virtual number order, including available phone number and SMS details.
🔒Send the project API key as a Bearer token and your Business ID with this call.
Responses
{
"data": {
"transactionId": "vnm_8f2c1a",
"status": "active",
"service": "whatsapp",
"country": "United States",
"phoneNumber": "+12025550123",
"smsCode": "123456",
"totalUsd": 2,
"currency": "USD"
}
}
{
"error": "insufficient_scope",
"message": "This project key is not allowed to do that."
}
Errors
| Status | error | Meaning |
|---|
| 403 | insufficient_scope | This project key is not allowed to do that. |
| 404 | virtual_number_order_not_found | Number order not found. |