Skip to Content
API ReferenceOverview

API Reference

Base URL: https://api.cnvy.ai

Interactive API documentation (Swagger UI) is available at: https://api.cnvy.ai/docs 

Authentication

Convoy uses API key authentication. Include your key in the request header:

curl -H "X-API-Key: convoy_sk_your_key_here" https://api.cnvy.ai/cargo/...

See Authentication for details on obtaining API keys from the dashboard.

Cargo Operations

These endpoints require the X-API-Key header with a valid project API key.

MethodEndpointDescription
POST/cargo/loadSubmit a request for batch processing
GET/cargo/{cargo_id}/trackingGet status of a request

Health Check

No authentication required.

MethodEndpointDescription
GET/healthHealth check

Response Format

All responses are JSON. Successful responses return 2xx status codes.

Success Response

{ "cargo_id": "crg_abc123def456", "status": "success", "message": "Cargo loaded successfully" }

Error Response

{ "detail": "Error message describing what went wrong" }

Common Error Codes

StatusDescription
400Bad Request — Invalid request body or parameters
401Unauthorized — Missing or invalid API key
403Forbidden — Project is inactive
404Not Found — Resource doesn’t exist or not owned by project
500Internal Server Error — Something went wrong on our end

Rate Limits

Rate limits vary by plan. Contact us  for information about limits and higher-throughput options.

Last updated on