Skip to main content
The ReferRush API lets you look up your customers’ referral details from your own server, for example to show a customer their referral code in your app or support tool.

Base URL

Every request goes to this base URL over HTTPS:

Authentication

Authenticate each request with an API key in the Authorization header:
Create a key in your ReferRush dashboard under Settings → API Keys. The full key is shown only once, when you create it, so copy it somewhere safe right away. A key only returns data for the store it was created in.
Keep your API keys secret. Call the API only from your server, never from a browser or a mobile app, and revoke a key from the dashboard right away if it leaks.
You can have up to 3 active keys at a time. Revoked keys stop working immediately, and every key is revoked when the ReferRush app is uninstalled from your store.

Response format

Every response is JSON with the same three fields:
When a request fails, success is false, message says what went wrong and data is null. See Errors for every status code.

Rate limit

Each API key can make up to 60 requests a minute. Beyond that the API responds with 429 and a Retry-After header that gives the number of seconds to wait.

Endpoints

Get customer

Get one customer’s referral code and referral totals by phone number or email.