You'll need to authenticate your requests to access any of the endpoints in the BREVIAN API. In this guide, we'll look at how authentication works.

Initially, you must create a new API token for your organization. This API token will be required to authenticate your requests. Make sure to save your token in a safe place, as you won't be able to see it again.

  • Name

    This cannot be changed. If you need to change the expiry date, create a new API Key.

  • Name

    Agent that can be used with the API key.

  • Name
    Allowed IPs

    Comma seperated list of allowed IPs for the API Key.

  • Name
    Rate Limit

    Number of requests allowed per minute.

Bearer token

Here's how to add the token to the request header using cURL:

Example request with bearer token

curl \
  -H "Authorization: Bearer {token}"

Always keep your token safe and disable it if you suspect it has been compromised.

Using an SDK

Our official SDKs ensure a smoother integration process.

Was this page helpful?