Skip to main content

Authentication

All API requests require an API key passed as a header. Use Authorization: Bearer as the primary scheme.

API Key​

Asterwise also accepts the key via an X-API-Key: <key> header for compatibility, but Authorization: Bearer is recommended.

Authorization: Bearer YOUR_API_KEY

Create your key in the Asterwise Dashboard. Email and password sign-ups confirm their email first; Google sign-ups are confirmed already. A key only works while its account's email is confirmed; otherwise calls return email_not_verified.

Rate Limits​

PlanCalls/monthRate limit
Sandbox50010/min
Builder10,00060/min
Launch50,000200/min
Scale300,000500/min

Errors​

CodeMeaning
401Invalid or missing API key
403Email not confirmed yet (email_not_verified): confirm it, then retry
429Rate limit exceeded
422Validation error — check request body
500Internal server error