Get WhatsApp check status
curl --request GET \
--url https://api.airscale.io/v1/whatsapp-check/operations/{operation_id} \
--header 'Authorization: Bearer <token>'const url = 'https://api.airscale.io/v1/whatsapp-check/operations/{operation_id}';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://api.airscale.io/v1/whatsapp-check/operations/{operation_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"operation_id": "00000000-0000-4000-8000-000000000001",
"status": "completed",
"whatsapp": "yes",
"credits_consumed": 1
}
WhatsApp check status
Reconcile a WhatsApp check using its operation ID. Rate limit: No endpoint-specific GET throttle.
GET
/
v1
/
whatsapp-check
/
operations
/
{operation_id}
Get WhatsApp check status
curl --request GET \
--url https://api.airscale.io/v1/whatsapp-check/operations/{operation_id} \
--header 'Authorization: Bearer <token>'const url = 'https://api.airscale.io/v1/whatsapp-check/operations/{operation_id}';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://api.airscale.io/v1/whatsapp-check/operations/{operation_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"operation_id": "00000000-0000-4000-8000-000000000001",
"status": "completed",
"whatsapp": "yes",
"credits_consumed": 1
}
Read a WhatsApp check in the authenticated workspace using the returned
operation_id. This read-only lookup has no request body and does not start another check or charge additional credits. There is no endpoint-specific GET throttle.
Reading the result
- HTTP
200withstatus: "completed",whatsapp, andcredits_consumed: 1confirms a definitive result. The phone number is not returned. - HTTP
202withstatus: "pending"or"unknown"means the outcome is not yet confirmed. Poll with bounded backoff; do not infer a yes/no result or final charge. - HTTP
200withstatus: "unavailable"or"rejected"reports a terminal operation state without a WhatsApp result or credit amount. - A completed state without result fields does not confirm a definitive result.
- HTTP
404means the operation was not found in this workspace.
Next step
Return to WhatsApp checker. Keep the original idempotency key when reconciling the same logical check.Authorizations
Use an Airschool workspace API key. Never expose the key in client-side code.
Path Parameters
Operation UUID.
Pattern:
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89aAbB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$