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-Typetoapplication/json - Pass both the
GUIDandAPI Keyin custom headers
Required headers
| Header | Example Value | Notes |
|---|---|---|
Content-Type | application/json | Required for JSON payloads |
X-GUID | 6lC7NrMa4zw2v_fqFf-rQf | Replace with your actual GUID |
X-API-KEY | iO6OZc37hEVTRgckKYphXAtt | Replace with your actual API key |
🔗 Authentication via query parameters
You can also authenticate by passing your credentials as query parameters:
GET /v1/customers?guid=6lC7NrMa4zw2v_fqFf-rQf&api_key=iO6OZc37hEVTRgckKYphXAtt