Quickstart
The shortest path to a real response from Loyal Guru: authenticate against a sandbox Company, call GET /check, and read what comes back. One developer, one terminal, a few minutes — no campaign configuration, no catalog data and nobody else's availability required.
It proves the connection, not the loyalty program: a 200 with {"status": "ok"} tells you your environment reaches the Streaming API with the headers every request carries. If the call fails, Troubleshooting covers the usual causes. Once it works, Where to go next points to the guide for the connection you are actually building.
Prerequisites
| Requirement | How to get it |
|---|---|
| Runtime API credentials | X-Api-Key and X-Api-Secret for a sandbox Company — see API Keys |
If you do not have them yet, API Keys covers how they are provisioned and how to keep them safe across environments.
Step 1 - Check API availability
GET /check exists only to test the API. It takes no parameters and no body, changes no data and does not depend on anything configured in the Company, so you can run it as many times as you want with no side effects.
curl --request GET 'https://streaming.loyal.guru/check' \
--header 'X-Api-Key: YOUR_API_KEY' \
--header 'X-Api-Secret: YOUR_API_SECRET' \
--header 'X-Api-Version: 1'
Send the same three headers you will use on every other call. Getting them right here means one less variable when the first business call fails.
Step 2 - Read the response
A successful call returns:
{ "status": "ok" }
What the response tells you at this point:
200withstatus: ok— the Streaming API is up and reachable from your environment, and the request was accepted.- Anything else — the problem is in the connection or the headers, not in a payload, an endpoint or Company data, because none of those are involved yet.
The endpoint definition is in the API Reference.
Where to go next
You have one call working. Pick the connection you are actually building:
| If you are integrating… | Go to |
|---|---|
| Customer, product or location data into Loyal Guru | Data |
| A checkout — POS, e-commerce, self-checkout | Loyalty Management & Promotional Engine |
| Loyalty information into your app, web or kiosk | Embedded Loyalty |
| Loyalty events into your CDP, CRM or marketing tools | Webhooks |
Before committing to an architecture, read Designing the integration — whether each system calls Loyal Guru directly or through a mediation layer, and how the integration behaves when a call fails, are the decisions that are most expensive to revisit later. For the full implementation sequence, see the Integration checklist.
Troubleshooting
| Symptom | What to check |
|---|---|
403 Forbidden | X-Api-Key, X-Api-Secret and X-Api-Version headers, and that the credentials belong to the sandbox Company. |
429 Too Many Requests | Rate limit reached. Honour the Retry-After header — see Reliability. |
| No response, timeout or TLS error | Outbound access from your environment to streaming.loyal.guru over HTTPS — proxies and egress firewalls are the usual cause. |