API Authentication

The Leatherback API uses API keys to authenticate requests. You can view and manage your API keys in the Leatherback as a Service (LAAS) Dashboard.

Test mode secret keys have the prefix sk_test_ and live mode secret keys have the prefix sk_live_.

On Test: Pass your sk_test_******

On Live: Pass your sk_live_******

 

  • Ensure your API keys are well secured ! Do not share your secret API keys in publicly accessible platforms

  • All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.

 

 

How to use the APIs

{{baseUrl}}/the_endpoint

 

key: X-Api
Value: {{YOUR_SECRET_KEY}}

 

On Test: Pass your sk_test_******

On Live: Pass your sk_live_******

 

 

GET, PUT, POST, based on the required method for each api

 Related articles

Leatherback 2024