Skip to main content

Obtaining an API Key

You need to obtain an API Key before calling the API:
  1. Log in to bizyair.ai
  2. Go to API Keys
  3. Click Create New Key and enter an alias (e.g., production / dev-local)
  4. Copy the generated Key (click the button on the left of the key to reveal it in full; click the key to copy it to the clipboard)
An API Key is the sole credential for your account. If leaked, others can drain your account balance. Never commit it to Git, embed it in front-end code, or share it through public channels.
Request Authentication All API requests must carry an Authorization field in the HTTP Header:
Example:
If the Key is missing or invalid, a 401 is returned:

Common Request Headers

The following request headers apply to all invocation methods; some headers are used to control the invocation mode:
When both X-BizyAir-Task-Async: enable and X-BizyAir-Task-WebHook-Url are set, WebHook mode takes precedence and the async-query flag is ignored.

Security Best Practices