Ranla Affiliates API

Your affiliate and referral program: partners and their links, campaigns (commission plans), referrals, the commission ledger, and payouts. Payout runs are approved by the account owner in the dashboard, not over the API.

GitHub OpenAPI

Operations 25

GET /affiliates List partners #
POST /affiliates Create a partner #
GET /affiliates/{id} Get a partner #
PATCH /affiliates/{id} Update a partner #
DELETE /affiliates/{id} Delete a partner #
POST /affiliates/{id}/approve Approve a partner #
POST /affiliates/{id}/reject Reject a partner #
POST /affiliates/{id}/suspend Suspend a partner #
GET /affiliate-campaigns List campaigns #
POST /affiliate-campaigns Create a campaign #
GET /affiliate-campaigns/{id} Get a campaign #
PATCH /affiliate-campaigns/{id} Update a campaign #
GET /affiliate-referrals List referrals #
POST /affiliate-referrals Record a referral server-side #
GET /affiliate-referrals/{id} Get a referral #
GET /affiliate-commissions List commissions #
GET /affiliate-commissions/{id} Get a commission #
PATCH /affiliate-commissions/{id} Reverse a commission #
GET /affiliate-payouts List payouts #
GET /affiliate-payouts/{id} Get a payout #
POST /affiliate-payouts/{id}/mark-paid Mark a manual payout paid #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/ranla-ai:ranla-ai-affiliates-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

ranla-ai-affiliates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ranla Affiliates API
  version: 0.12.0
  description: 'Transactional email API for developers.

    Auth: `Authorization: Bearer rnl_…` or `stx_…` (or dashboard session cookie for integrations).

    Production base URL: https://api.ranla.ai'
servers:
- url: https://api.ranla.ai
  description: Production
tags:


# --- truncated at 32 KB (63 KB total) ---
# Full source: https://artifacts.apis.io/ranla-ai/openapi/ranla-ai-affiliates-api-openapi.yml