Skip to content
Referral Rock

API Referral Program Integration

Build your own connection to Referral Rock: create and update members, referrals and rewards from any system with the REST API.

About our REST API referral integration

Referral Rock is referral program software for businesses with teams. The Referral Rock REST API connects your own software and tools straight to your account.

REST API logo

REST API

API / Webhook
Category
Other
Requirements
  • • Your Referral Rock public and private API keys
  • • A developer comfortable with REST APIs
Documentation
View Setup Guide
Plans
Available with all Referral Rock plans. View pricing
Data Privacy
When using this integration, it's up to you to comply with applicable laws and regulations, as well as Referral Rock's Terms of Service and Privacy Policy.

How REST API connects to Referral Rock

  1. You create API keys

    A public and private key pair from Referral Rock's API keys page.

  2. Your system calls the API

    Over HTTPS with Basic authentication, your code reads and writes members, referrals and rewards.

  3. Referral Rock runs the program

    The portal, sharing, tracking and rewards keep running in Referral Rock, fed by your data.

  4. Events flow back

    Webhooks tell your systems when things happen in the program.

How the API connects
HTTPS requests with Basic authentication: your public and private API keys, Base64-encoded in the Authorization header. Plain HTTP returns a 404.
What you can work with
Members, referrals, rewards, programs and the other major objects. The API Reference lists every endpoint.
Events
Webhooks for event-driven automation.
Limits
Requests are rate limited. Our support team can raise the limit if you need more.
What the API doesn't do
The API doesn't come with a ready-made connector: someone on your team writes and maintains the code.

When teams use REST API with a referral program

Software companies

Credit referrals from your own sign-up flow

When a referred friend signs up in your app, your backend tells Referral Rock, so the referral is credited even when the sign-up never touches a web form.

Subscription businesses

Reward every month the friend stays

After a referral is approved, your system can send recurring actions through the API, so rewards follow a monthly subscription.

Teams with a custom CRM

Keep members in step with your records

Create and update members from your own database, so the right customers are in the program with the right details.

Setting up Referral Rock with REST API

  1. 1

    Create your API keys

    You

    In Referral Rock, open the API keys page under Integrations and create a public and private key. Copy the private key right away: it shows only once.

  2. 2

    Authenticate your requests

    You

    Send every request over HTTPS with Basic authentication, using your public and private keys Base64-encoded in the Authorization header.

  3. 3

    Build against the Reference

    You

    Use the API Reference to find the endpoints for members, referrals and rewards, and the webhooks for events.

Full steps: the REST API setup guide.

See a referral flow built based on your business

Give us your website. Our team builds you a referral flow from it, styled to your brand.

Get my free referral flow

Yours to keep. No sales call.

How it works

  1. 1 We build a referral flow from your website, styled to your brand
  2. 2 We send you a link to preview it
  3. 3 See the experience you'd send your customers

REST API referral integration FAQs

With Basic authentication: your public and private API keys, Base64-encoded in the Authorization header, over HTTPS. Create the keys on the API keys page in Referral Rock; the private key shows only once.

Anything that reads or writes members, referrals and rewards: crediting referrals from your own sign-up flow, keeping members in step with your database, or sending recurring actions for subscription rewards. Webhooks tell your systems when program events happen.

Set up your program in Referral Rock, then use the API to feed it: add members, record referrals and update their status from your own systems. Referral Rock runs the portal, sharing and rewards.

Referral Rock is referral program software for businesses with teams. An advisor sets up your program with you on every plan, with no setup fee.

Yes. The API is for code your team writes and maintains. For a no-code option, see the Zapier integration.

Yes, requests are rate limited to prevent excessive use. Contact our support team if you need a higher limit.

At api.referralrock.com. The Reference page lists every endpoint, and the webhooks guide covers events.

Yes. Referral Rock is referral software built to run customer referral, brand ambassador, and affiliate marketing programs from one platform. The REST API integration works the same way no matter which type you run.
“Their integrations, their obsession to be on the leading edge of their niche, the overall customizability... All in all, I saved thousands by not needing to build an app or sign up for a long-term contract.”

Need help setting up?

Every Referral Rock plan includes onboarding help. Our team will help you configure the REST API integration and make sure everything is working perfectly. View the setup guide

Ready to connect REST API?

Start your free trial and set up the integration. No credit card required.

Not ready to talk? See a free referral flow →