VIRTUAL NUMBERS
Refresh virtual number status
GEThttps://production.dutchapi.co/v1/virtual-numbers/orders/:reference/check
Checks the provider for updated order state 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",
"providerStatus": "RECEIVED",
"phoneNumber": "+12025550123",
"smsCode": "123456"
}
}
{
"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. |
| 409 | virtual_number_order_not_ready | The provider is still confirming this order. |
| 502 | virtual_number_status_unavailable | The number status could not be checked. |