Security

Authentication

Every call carries your API token in the Authorization header.

Authorization: Bearer prj_live_...

Headers

HeaderValueRequired
AuthorizationBearer prj_live_...Yes
Acceptapplication/jsonRecommended
Content-Typeapplication/jsonYes, when the call has a body (POST)
Idempotency-Keya unique code per request (UUID)Yes, on Generate keys

The token

  • It starts with prj_live_ and is 49 characters long.
  • It only works in the Authorization header. Do not send the token in the URL (?token=) or in the body.
  • It can have an expiration (30 days, 90 days or 1 year) or none. You choose when creating it.
  • Each account can have up to 10 active tokens.
  • A deleted or expired token gets 401. Create another one in the panel.

Authentication responses

HTTPWhen
401Missing header, or an invalid, deleted or expired token.
403The token is valid, but lacks the permission for that endpoint.
403 β€” missing permission
{
  "success": false,
  "message": "Este token nΓ£o tem permissΓ£o para esta aΓ§Γ£o (precisa de \"keys:generate\").",
  "errors": { "required_scope": "keys:generate" }
}

If the token leaks

Delete the token in the panel: it stops working immediately. Then create another one and replace it on your server. Do not share tokens in repositories, screenshots or chats.

On this page