With ReferralRock API, you can build automated referral programs that track, manage, and measure the success of your referral program. The API allows you to easily create, integrate, and customize referral programs that you can use to drive signups and increase sales.
Powered by ReferralRock API, you can build the following programs:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
referralrock: {
type: "app",
app: "referralrock",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.referralrock.com/api/programs`,
auth: {
username: `${this.referralrock.$auth.public_key}`,
password: `${this.referralrock.$auth.private_key}`,
},
})
},
})
ReferralRock uses API keys for authentication. When you connect your ReferralRock account, Pipedream securely stores the keys so you can easily authenticate to ReferralRock APIs in both code and no-code steps.
To retrieve your API keys,