NewsOperate As is live. Send your first client one link

Integration

Affiliaterail

Run a SaaS affiliate program: partners, referrals, commissions, payouts and risk. Your client pastes their Affiliaterail key once, and your agent or your code works with their access.

Developer tools

About Affiliaterail

Through Operate As, your agent, n8n workflow or code works in Affiliaterail with your client's own access. Your client pastes their API key from Affiliaterail once. We store it encrypted, so it never sits in an email or a shared doc. Your agent reaches any endpoint of Affiliaterail's API through the request tool, with the client's access attached.

Common uses in Developer tools

  • Check status and alert the team when something breaks
  • Create and update resources from a workflow
  • Report on usage and costs

Affiliaterail

Affiliaterail · Developer tools

API key

Run a SaaS affiliate program: partners, referrals, commissions, payouts and risk

The client pastes their API key from Affiliaterail's settings. We store it encrypted.

Tested against Affiliaterail's live API.

Building with Affiliaterail? The docs have setup steps and code for every tool.

Open the Affiliaterail docs

Tools

Your agent calls any endpoint of Affiliaterail's API with the request tool, with the client's access attached.

Base URL for request

https://api.affiliaterail.com

  • request

    HTTPS ANY /v1/clients/{clientId}/affiliaterail/{path}

    Any endpoint of Affiliaterail's own API, with the client's access attached.

    servicestringrequired
    This service: affiliaterail
    methodstringrequired
    GET, POST, PUT, PATCH or DELETE
    pathstringrequired
    The path under https://api.affiliaterail.com
    queryobjectoptional
    Query parameters
    bodyobjectoptional
    A JSON body

Over MCP every tool also takes client_id, from list_clients. Over HTTPS send it as clientId to https://api.operate.as/v1.

What the client approves

  • Use the Affiliaterail key you paste, with only the access you gave that key

Get started

Send your next client one link

Add a client, select the services, copy the link. You'll get an email the moment their access is ready. Start free, no card required. Paid plans are one flat monthly price, and a busy month never takes your agents offline.