Authentication

Za-zu uses API keys to authenticate requests. You can manage your API keys from your Za-zu dashboard.

API Keys

All API requests must include your API token in the za-zu-api-key header:

za-zu-api-key: YOUR_API_TOKEN

Required Headers

In addition to your API token, you need to include this header:

ApiKey: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InRjZmthYndkZnBhdXVtY3pubndoIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MjcyNDQ1NTQsImV4cCI6MjA0MjgyMDU1NH0.2Eed2baes4t1O8tubVffgF6xz68cWoz6Ih0mPazIVks

Security Notice

Keep your API tokens secure and never share them in publicly accessible areas such as GitHub, client-side code, or forums.

Example Request

curl -X GET "https://api.za-zu.com/rest/v1/rpc/some_endpoint" \
  -H "za-zu-api-key: YOUR_API_TOKEN" \
  -H "ApiKey: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InRjZmthYndkZnBhdXVtY3pubndoIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MjcyNDQ1NTQsImV4cCI6MjA0MjgyMDU1NH0.2Eed2baes4t1O8tubVffgF6xz68cWoz6Ih0mPazIVks" \
  -H "Content-Type: application/json"