SaaSquatch Help Center

The Referral SaaSquatch REST API is authenticated by providing one of your API keys in the request.

You authenticate to the Referral SaaSquatch API by providing one of your API keys in the request. You can manage your API keys from the install page of your Referral SaaSquatch portal account. Your API keys carry many privileges, so be sure to keep them secret!

Note: Your referral program has a Live and Test tenants each have their own API key. Make sure you are using the correct key for the tenant you are using.

Authentication to the API occurs via HTTP Basic Auth. Provide your API key as the basic auth password. You do not need to provide a username.

All API requests must be made over HTTPS. Calls made over plain HTTP will fail. You must authenticate for all requests.

Example:

curl -X POST https://app.referralsaasquatch.com/api/v1/{tenant_alias}/code/{code} \
-u :TEST_B4BYA15POHYQ284HBND1 \

curl uses the -u flag to pass basic auth credentials.

In this Article: