API Reference
The Nedzo API is organized around REST. It uses standard HTTP methods, returns JSON responses, and uses standard HTTP status codes.Base URL
Authentication
All API requests require a Bearer token in theAuthorization header:
Request Format
ForPOST, PUT, and PATCH requests, send JSON in the request body:
Response Format
All responses are JSON. Successful responses return the requested data:Errors
Errors follow the RFC 7807 Problem Details format:HTTP Status Codes
| Code | Description |
|---|---|
200 | Success |
201 | Created |
400 | Bad Request - Invalid parameters |
401 | Unauthorized - Invalid or missing API key |
404 | Not Found - Resource doesn’t exist |
422 | Validation Error - Request failed validation |
429 | Too Many Requests - Rate limited |
500 | Internal Server Error |
502 | Bad Gateway - Upstream service error |
Pagination
List endpoints support pagination via query parameters:| Parameter | Description | Default |
|---|---|---|
limit | Number of items per page | 20 |
offset | Number of items to skip | 0 |
Rate Limiting
API requests are rate-limited. When you exceed the limit, you’ll receive a429 response with a Retry-After header indicating when you can retry.