Query the status of a guide batch
Allows querying the current status of a previously created guide batch.
GET
/hawb/{batchId}
v1.0.0
Descripción
Allows querying the current status of a previously created guide batch.
The batch is considered fully processed when processingGuides equals 0. At that point, generatedGuides + failedGuides must equal totalGuides.
Rate limiting: 50 requests per minute per client. Best practice: implement a minimum 2-second interval between status checks.
Step 3 of 6 in the nationalization flow:
- Authentication
- POST /hawb →
batchIdis returned - GET /hawb/{batchId} ← HERE — check batch status
- POST /mawb
- POST /mawb/hawb
- POST /mawb/nationalization
🔐 Authentication required
| Header | Authorization: Bearer <access_token> |
| Token (TEST) | POST https://api-test.coordinadora.tech/oauth/token |
| Token (PROD) | POST https://api.coordinadora.tech/oauth/token |
| Method | Basic Auth — Client ID as username, Client Secret as password |
| Body | Content-Type: application/x-www-form-urlencoded · grant_type=client_credentials |
| Validity | 3600 seconds |
| HTTP 401 | Token not sent, invalid or expired |
Credentials (Client ID and Client Secret) are provided by Coordinadora's Technology Department.
Quick Start
- Obtén tus credenciales de acceso (Bearer Token).
- Selecciona el ambiente y completa los parámetros requeridos.
- Envía la solicitud y procesa la respuesta.
Ejemplo rápido
Generando ejemplo…
Generando ejemplo…
Generando ejemplo…
Endpoint
GET
/hawb/{batchId}
Base URL
https://api-dev.coordinadora.tech/nacionalizacion
Parámetros
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
batchId path |
string | Sí | Unique batch identifier. Value returned in the batchId field of the POST /hawb response. Case-sensitive. |
Respuesta
200
Batch status information retrieved successfully.
{
"isError": false,
"data": {
"batchId": "264081134-1776785291254-9d6c97",
"totalGuides": 3,
"generatedGuides": 2,
"failedGuides": 1,
"processingGuides": 0,
"customerEmail": "logistics@globalcommerce.com",
"generatedGuidesDetail": [
{
"customerOrderId": "ORD-2025-00892",
"trackingNumber": "13220721777"
}
]
}
}
204
The queried batch does not exist. Occurs when the batchId does not match any existing record. Verify the batchId was copied correctly from the POST /hawb response. The response body will be empty — do not attempt to parse JSON.
Ejemplo de respuesta
200 Batch status information retrieved successfully.{
"isError": false,
"data": {
"batchId": "264081134-1776785291254-9d6c97",
"totalGuides": 3,
"generatedGuides": 2,
"failedGuides": 1,
"processingGuides": 0,
"customerEmail": "logistics@globalcommerce.com",
"generatedGuidesDetail": [
{
"customerOrderId": "ORD-2025-00892",
"trackingNumber": "13220721777"
}
]
}
}
Errores
400
Bad Request. The submitted data does not comply with the required format or validations.
{
"isError": true,
"data": {
"ok": "Invalid input data",
"message": "The request contains invalid or incorrectly formatted data.",
"detail": "Please review the request fields and try again."
}
}
401
Unauthorized. The authentication token is invalid, has expired, or was not provided.
JWT has expired
500
Internal Server Error.
{
"isError": true,
"data": {
"ok": "Internal server error",
"message": "Internal server error",
"detail": "An unexpected error occurred while processing the request."
}
}