Authentication

How to authenticate with the Yotpo Loyalty API using your GUID and API key.

🔐 Authentication

Yotpo uses a combination of your GUID and API Key to authenticate all API requests.

You can find your credentials in your Loyalty settings.

Need help finding your API credentials? Click here for instructions


🔧 Authentication via HTTP headers

When authorizing requests with headers:

  • Set the Content-Type to application/json
  • Pass both the GUID and API Key in custom headers

Required headers

HeaderExample ValueNotes
Content-Typeapplication/jsonRequired for JSON payloads
X-GUIDYOUR_GUIDReplace with your actual GUID
X-API-KEYYOUR_API_KEYReplace with your actual API key

🚫 Query parameters are not recommended

The API also accepts the GUID and API key as guid and api_key query parameters, but don't use them. Credentials in a URL end up in server logs, proxies and browser history, where others can read them. Send them in the X-GUID and X-API-KEY headers, and keep them on your server.

If your integration sends credentials in the URL today, move them to the headers.

🔑 Other credentials

  • Reward Instances and the v3.0 VIP Tiers endpoints use a Yotpo access token in the X-Yotpo-Token header instead of the GUID and API key. See Yotpo Authentication.
  • Product Potential Points (v3.0) needs no credentials. Its authenticated version takes customer headers; see its reference page.