Re-attempt every shipment on your account that failed to track in the last 7 days, in one call. Nothing is fetched while you wait: each reference is handed to the carrier-discovery worker, which walks candidate carriers and stores the document when one answers — read GET /shipments/{id} for the result.
Retrying our own failure is NOT a re-add: these shipments already have rows, they never consumed a slot (a failed row does not), and a slot is charged only if data lands. The per-reference re-add limit does not apply, which is the point — recovering from a carrier outage used to hit it on the third attempt.
Capped at 200 references per call, one call per organisation every 15 minutes. queued is the number of jobs that actually exist, not the number of rows examined: when carrier discovery is unavailable on your plan it reports queued: 0 with skipped set, rather than promising work nothing will do.
Request
POST https://traqocontainer.com/api/v1/shipments/retry-failed
Your API key as a Bearer token: Authorization: Bearer YOUR_API_KEY.
Rate limit.Each API key gets 120 requests per minute by default; your key's own budget comes back in the X-RateLimit-* headers.Limits by plan.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
shipment_ids | array of string | No | OPTIONAL. Retry only these shipments. Omit to retry every failed shipment from the last 7 days. Ids outside your organisation are ignored. |
Example request
curl -X POST "https://traqocontainer.com/api/v1/shipments/retry-failed" \
-H "Authorization: Bearer YOUR_API_KEY"Run it in the sandbox — no key, no account: the same request answers at https://traqocontainer.com/api/v1/sandbox/shipments/retry-failed with a schema-identical reply.
Responses
Example 200 body:
{
"success": true,
"examined": 0,
"queued": 0,
"skipped": 0,
"shipment_ids": [],
"window_days": 7,
"slot_consumed": 0,
"message": "No failed shipments in the last 7 days."
}| Status | Meaning |
|---|---|
200 | What was examined, what was queued, and what could not be. |
401 | Invalid or missing API key. |
403 | Developer mode not enabled, or the feature is not on your plan. |
429 | Rate limit exceeded — see the Retry-After header. The body names the plan the limit was computed from ( |
Error bodies and retry advice: Errors.