Authenticating with token & secret

This type of authentication has complete read-write access to your LoyaltyLion account, and should only be used by your team in a trusted environment.

Third party applications should use our OAuth authentication instead.

The LoyaltyLion API supports Basic Authentication as defined in RFC2617 using your token and secret. These can be found in your LoyaltyLion settings.

Use the token as the username, and the secret as the password. For example, using cURL:

curl \
  --user 'token:secret' \
  --url 'https://api.loyaltylion.com/v2/customers' \
  --header 'Content-Type: application/json'