RecomlyRecomlyRecomlyDocs
Recomly API

API Basics

An introduction to the Recomly API — authentication, base URLs, and how requests work.

The Recomly API is a REST API that lets you interact with your tenant programmatically. Any functionality available to your user account in the web application is available via the Recomly API.

Base URL

All API requests are made to:

https://api.recomly.com

Required headers

Every request must include the following headers:

HeaderValue
AuthorizationBearer {keyId}:{secret}
Content-Typeapplication/json

You can generate and manage API keys from User Profile → API Keys in the Recomly dashboard.

Response format

All responses return JSON. Successful responses include the requested data at the top level. Error responses include an error field with a human-readable message:

{
  "error": "API key is invalid or has been revoked."
}

HTTP status codes

CodeMeaning
200Success
400Bad request — check your request body
401Unauthorized — invalid or missing API key
403Forbidden — your plan does not include API access
404Resource not found
429Rate limit exceeded
500Internal server error

Rate limits

API requests are rate-limited per tenant. If you exceed the limit you will receive a 429 response. Limits vary by plan — check your dashboard for your current limit.


Endpoints

Dashboard

MethodEndpointDescription
GET/api/app/dashboardGet aggregated stats

Campaigns

MethodEndpointDescription
POST/api/app/campaignsCreate a new referral campaign
GET/api/app/campaignsList all campaigns
GET/api/app/campaigns/{campaignId}Get a campaign
PATCH/api/app/campaigns/{campaignId}Update a campaign
DELETE/api/app/campaigns/{campaignId}Delete a campaign

Advocates

Referrals

On this page

We use cookies

We use essential cookies to keep the site working, and optional analytics cookies to understand how it's used. Read our Privacy Policy.