Authentication

Vouchery API supports two authentication methods:

  1. JWT auth using HTTP Authorization header
  2. API key auth using HTTP Authorization header

To obtain access to this version of the API please contact us by sending an email to [email protected].

JWT authentication

To use the bearer authentication scheme you need to pass the Authorization header. JWT is a token you obtain by logging in to your Vouchery dashboard with email and password.

Authorization: Bearer <token>

API key authentication

To use the API-KEY authentication scheme you need to pass the Authorization header. <api_key> is a key you can find in your Vouchery account, by logging in and going to 'My Account'.

Authorization: Bearer <api_key>