Introduction

Authorization

Badger uses token-based authentication to authorize API requests. Each request to the API needs to have the “Authorization” header set to “Token yourAPIkey”. For example, if your API token is “abcdefg12345678”, then the Authorization header will be set to “Token abcdefg12345678” (without the surrounding quotes).

In this documentation, “abcdefg12345678” will need to be replaced with your actual API key when making requests.

To obtain your API key, see "Authentication".

Versioning

The current version of the API is v2. Other versions may be made available as backwards incompatible changes are introduced.

Webhooks

Badger supports webhooks for the following events: Account Created, Account Updated, Check-in Created. Contact an Integration Specialist at Badger for more information and to subscribe to any webhooks.