The Siteleaf API requires all requests to be authenticated via Basic Auth with an API key and secret. These can be found on your account page in the web app, or programmatically via the API as described below.

Get an API key and secret

The authentication endpoint requires Basic Auth with a users email and password, and is the only endpoint that accepts this method of authentication. It returns the unique key and secret that can be used to authenticate with the rest of the Siteleaf API.


POST https://api.siteleaf.com/v2/auth


Status: 200 OK
  "api_key": "pgYWJZyGvCY60Eys...",
  "api_secret": "m8IibnCkXISebc9b..."

Help improve this page