Authentication

The Rebill API uses API keys to authenticate requests. You can create and manage your API keys in the Dashboard.

Authentication is the process of verifying the identity of a user, system, or application attempting to access a resource or perform a specific action. It plays a pivotal role in upholding the security and confidentiality of sensitive financial data, ensuring that only authorized entities gain entry.

To put it simply, this means that all the information that travels through Rebill's ecosystem is secured by an authentication process. This is what keeps your data safe.

You can use API Keys in your integrations by simply adding them to the Authorization Headers of your requests, like this:

Authorization: Bearer {Api_key_value}

If a request includes a deleted, expired or non-existing API Key, Rebill returns an 'Unauthorized' type error (401).

Here's how you can create an API Key from the Dashboard:

  1. Go to 'settings' in the user menu. This will open the settings sidebar. Then click on 'API Keys'.
  2. Click on 'Generate API Key'. You will be asked to enter you new API Key description, which can be useful for identifying different API Keys you might need or choose to create.
  3. That's it! A new API Key will be created. You can start using this key to interact with our API.
Dashboard view of API Keys

Dashboard view of API Keys


🚧

Use your API Keys responsibly

Remember to treat your API Keys as passwords. Keep them safe and never share them with applications or third-parties you don't trust. It's good practice to refresh your API Keys over time and revoke keys that are no longer being used.