API Keys

EmailBison uses API keys for authentication. You can create API keys for your requests by visiting Settings -> Developer API on your EmailBison instance. There are two types of tokens you can create:
  1. api-user: this only authenticates for the workspace, and you need to create a different key for each workspace.
  2. super-admin: this token bypasses workspace restrictions and impersonates the owner of the account. This token type is not recommended.
Note: We highly recommend only using the api-user token type. This is the recommended token type even for no-code platforms like Zapier or Clay

Authorization

All API requests should include your API key in an Authorization HTTP header as follows: Authorization: Bearer YOUR_API_KEY Where Authorization is the Key in your header, and Bearer YOUR_API_KEY is the Value. An example of a request that is properly authenticated:
curl https://dedi.emailbison.com/api/users \
  --header 'Authorization: Bearer 9|q8kSmhjJRqJVT2kc1M0ezX640Pxk'