Skip to main content

Authentication

NexaLayer supports API key authentication. Agents, scripts, and automation jobs should send X-API-Key on each request.

Request an API key by email

The response does not include the API key. NexaLayer sends it to the mailbox:
Later requests resend the existing API key. You can recharge and use NexaLayer directly; for a trial, contact Telegram support (@ztproxy).

backend_ready

backend_ready is the real provisioning gate:
  • true: the account is synced and can list products, read balance, and create sessions
  • false: do not create sessions; surface or retry the backend sync problem

Idempotency

For write operations such as session creation, rotation, renewal, and recharge, send an Idempotency-Key:
This lets agents retry safely without duplicating paid operations.