Developer Docs

API Reference

Example API documentation showcasing our backend capabilities. This demonstrates the quality of developer experience we deliver for client projects.

Authentication

All API requests require a Bearer token in the Authorization header.

curl -H "Authorization: Bearer YOUR_API_KEY" \
  https://api.example.com/v1/users

List Users

GET /v1/users?page=1&limit=20

Response 200:
{
  "data": [{ "id": "usr_1", "email": "user@example.com", "role": "admin" }],
  "meta": { "total": 42, "page": 1 }
}

Webhooks

Subscribe to real-time events. We sign payloads with HMAC-SHA256 for verification.

POST /v1/webhooks
{ "url": "https://yoursite.com/hook", "events": ["user.created"] }

Error Handling

{ "error": { "code": "VALIDATION_ERROR", "message": "Email is required" } }
Need an API built?