Acompanhar um lote
curl --request GET \
--url https://api.validator.blubash.io/v1/batches/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.validator.blubash.io/v1/batches/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.validator.blubash.io/v1/batches/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"charged": "23.8400",
"completed_at": "2026-12-01T14:09:41.000Z",
"country_calling_code": "55",
"country_counts": {
"55": 1200
},
"created_at": "2026-12-01T14:00:00.000Z",
"duplicates": 20,
"id": "bat_01JF3S4D6F8H0K2M4P6R8T0V2X",
"invalid": 30,
"not_registered": 322,
"poll_after_seconds": null,
"registered": 870,
"reject_code": null,
"reserved": "24.0000",
"source": "upload",
"status": "completed",
"submitted_at": "2026-12-01T14:02:10.000Z",
"total": 1250,
"unit_price": "0.0200",
"unknown": 8,
"upload": null,
"upload_expires_at": "2026-12-01T14:15:00.000Z",
"valid": 1200
}Lotes
Acompanhar um lote
Estado, contagens e valores do lote. Enquanto ele está ativo, a resposta traz Retry-After (e poll_after_seconds) dizendo quando vale consultar de novo; consultar antes disso só repete a mesma resposta. Prefira o webhook batch.completed ao polling.
Escopo exigido: batches. Liberada para workspace suspenso.
GET
/
v1
/
batches
/
{id}
Acompanhar um lote
curl --request GET \
--url https://api.validator.blubash.io/v1/batches/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.validator.blubash.io/v1/batches/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.validator.blubash.io/v1/batches/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"charged": "23.8400",
"completed_at": "2026-12-01T14:09:41.000Z",
"country_calling_code": "55",
"country_counts": {
"55": 1200
},
"created_at": "2026-12-01T14:00:00.000Z",
"duplicates": 20,
"id": "bat_01JF3S4D6F8H0K2M4P6R8T0V2X",
"invalid": 30,
"not_registered": 322,
"poll_after_seconds": null,
"registered": 870,
"reject_code": null,
"reserved": "24.0000",
"source": "upload",
"status": "completed",
"submitted_at": "2026-12-01T14:02:10.000Z",
"total": 1250,
"unit_price": "0.0200",
"unknown": 8,
"upload": null,
"upload_expires_at": "2026-12-01T14:15:00.000Z",
"valid": 1200
}Authorizations
Response
O lote.