REST API

To utilize our REST API, you'll need to employ an API key, which can be located within the "API Key" section of your settings page.

  • Access to our REST API is exclusively accessible through the Pro pricing plan.

  • Safeguard the confidentiality of your API key at all costs; refrain from sharing it or making it publicly accessible. Your API key is a vital component of your account/data security

Example

Our API endpoint is available at https://app.referralrocket.io/api/v1/. You can make an API request by passing the x-api-key in the header. Remember to use your API key.

curl -X "GET" 'https://app.referralrocket.io/api/v1/getCampaign?id=<campaignId>' \
--header 'x-api-key: ebgc_zDsr7kiuGi_ahO_MmlZ-jB-S451mMO3dvV2DK0='

Last updated