Authentication

To be able to use our REST API endpoints, you must first authenticate yourself using the adminTeamId, merchantId and the password/secretkey values provided by Savvy.

This authentication is done by calling the ‘login’ endpoint. Note that the subscription key header must be defined for login (and all endpoints) - see Environments.

The response will contain a Bearer Token which you need to pass in the ‘Authorization’ http header for each request to the REST API endpoint.

The bearer token has a 30-minute lifetime. If you intend to call our endpoints multiple times in a 30 minute window the bearer token should be persisted (per mid) as it will remain valid for 30 minutes.