Developer API Reference

Welcome to the xyzzsz developer documentation. This site provides comprehensive references for integrating with our REST and streaming APIs.

Authentication v2

All requests require a bearer token in the Authorization header:

curl -H "Authorization: Bearer <TOKEN>" \
     -H "Content-Type: application/json" \
     https://api.example.com/v2/resource

Rate Limiting

Requests are limited to 1 000 req/min per token. Rate limit headers are included in every response:

X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 847
X-RateLimit-Reset: 1735000000

Error Codes

400 Bad Request       — invalid parameters
401 Unauthorized      — missing or invalid token
429 Too Many Requests — rate limit exceeded
500 Internal Server Error

Webhooks

Register an HTTPS endpoint to receive real-time event notifications. Payloads are signed with HMAC-SHA256.

POST /v2/webhooks
{
  "url": "https://your-server.example.com/hook",
  "events": ["data.created", "data.updated"]
}