Full API Reference
Complete API documentation for full programmatic control over your deliveries.
v1
Enterprise
REST
Base URL
All requests go to the production API.
text
https://api.send247.uk/v1Authentication
All API requests require a secret API key passed in the Authorization header. Use your live key (sk_live_...) for production. Never expose API keys in client-side code.
text
Authorization: Bearer sk_live_your_api_keySecurity
API keys are sensitive credentials. Store them in environment variables or a secrets manager. Use sk_test_... for sandbox testing.
Order/Delivery APIs
Common Headers
text
Authorization: Bearer sk_live_your_api_keyContent-Type: application/jsonError Handling
401 Unauthorized
Invalid or revoked API key.
json
{ "status": "error", "message": "Unauthorized"}4xx / 5xx Errors
json
{ "status": "error", "message": "Error description"}Response Codes
| Code | Description |
|---|---|
200 | Success |
201 | Created |
400 | Bad Request — Invalid parameters |
401 | Unauthorized — Invalid or revoked API key |
429 | Rate limited — Too many requests |
500 | Server error — Contact support |
Rate Limits & Conventions
- Rate limit: 100 requests/second per API key (enterprise tiers available)
- Dates: YYYY-MM-DD format
- Timestamps: ISO 8601 format
- Pagination: per_page=10, page=1 (default)
- API versioning: v1 is stable; breaking changes will be versioned