Refersion · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Refersion REST Affiliates API
9 actions
9 updates
phrasing
extends
openapi/refersion-affiliates-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Refersion's API. It is a proposal applied on top of the contract, not a document Refersion publishes.
What the actions change
x-apievangelist-phrasing
Targets 9
$.info
$.paths['/affiliate/new'].post
$.paths['/affiliate/get'].post
$.paths['/affiliate/edit'].post
$.paths['/affiliate/list'].post
$.paths['/affiliate/search'].post
$.paths['/affiliate/status_change'].post
$.paths['/affiliate/trigger'].post
$.paths['/trigger/delete'].post
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Refersion REST Affiliates API
version: 1.0.0
extends: openapi/refersion-affiliates-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-19'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 8
- target: $.paths['/affiliate/new'].post
update:
x-apievangelist-phrasing:
intent: Create an affiliate
effect: write
questions:
- How do I add a new affiliate to Refersion?
- Can I set a conversion trigger coupon when creating an affiliate?
instructions:
- text: Create affiliate {first_name} {last_name} at {email} with password {password}.
slots:
first_name: requestBody.first_name
last_name: requestBody.last_name
email: requestBody.email
password: requestBody.password
- text: Add {first_name} {last_name} as a new affiliate with company {company}.
slots:
first_name: requestBody.first_name
last_name: requestBody.last_name
company: requestBody.company
method: generated
generated: '2026-11-19'
- target: $.paths['/affiliate/get'].post
update:
x-apievangelist-phrasing:
intent: Look up an affiliate by ID or code
effect: read
questions:
- How do I pull an affiliate's profile from Refersion by their ID?
- Can I fetch an affiliate's details using just their affiliate code?
instructions:
- text: Get affiliate {affiliate_id}.
slots:
affiliate_id: header.Refersion-Public-Key
- text: Look up the affiliate with code {affiliate_code}.
slots:
affiliate_code: header.Refersion-Secret-Key
method: generated
generated: '2026-11-19'
- target: $.paths['/affiliate/edit'].post
update:
x-apievangelist-phrasing:
intent: Update an affiliate's details
effect: write
questions:
- How do I change an existing affiliate's email or company?
- Can I update several affiliates in one call?
instructions:
- text: Update affiliates {affiliates}.
slots:
affiliates: requestBody.affiliates
- text: Change the company of the listed affiliates to {company}.
slots:
company: requestBody.affiliates
method: generated
generated: '2026-11-19'
- target: $.paths['/affiliate/list'].post
update:
x-apievangelist-phrasing:
intent: List all affiliates
effect: read
questions:
- What affiliates are in my account?
- Can I page through all my affiliates?
instructions:
- text: List all my affiliates.
- text: Show {limit} affiliates per page.
slots:
limit: requestBody.limit
method: generated
generated: '2026-11-19'
- target: $.paths['/affiliate/search'].post
update:
x-apievangelist-phrasing:
intent: Find affiliates by email or name
effect: read
questions:
- How do I find an affiliate by email address?
- Can I search affiliates by first or last name?
instructions:
- text: Search affiliates for {keyword}.
slots:
keyword: requestBody.keyword
- text: Find affiliates named {first_name} {last_name}.
slots:
first_name: requestBody.first_name
last_name: requestBody.last_name
method: generated
generated: '2026-11-19'
- target: $.paths['/affiliate/status_change'].post
update:
x-apievangelist-phrasing:
intent: Change an affiliate's status
effect: write
questions:
- How do I deactivate an affiliate?
- How many affiliate IDs can I change status for in one call?
instructions:
- text: Set affiliates {ids} to status {status}.
slots:
ids: requestBody.ids
status: requestBody.status
- text: Deactivate affiliates {ids}.
slots:
ids: requestBody.ids
method: generated
generated: '2026-11-19'
- target: $.paths['/affiliate/trigger'].post
update:
x-apievangelist-phrasing:
intent: Create a conversion trigger for an affiliate
effect: write
questions:
- How do I give an affiliate a unique coupon code?
- Can I set a SKU or email as a conversion trigger for an affiliate?
instructions:
- text: Create a {type} conversion trigger {trigger} for affiliate {affiliate_code}.
slots:
type: requestBody.type
trigger: requestBody.trigger
affiliate_code: requestBody.affiliate_code
- text: Give affiliate {affiliate_code} a coupon trigger {trigger}.
slots:
affiliate_code: requestBody.affiliate_code
trigger: requestBody.trigger
method: generated
generated: '2026-11-19'
- target: $.paths['/trigger/delete'].post
update:
x-apievangelist-phrasing:
intent: Delete conversion triggers
effect: destructive
questions:
- How do I remove a conversion trigger from an affiliate?
- How many triggers can I delete in one call?
instructions:
- text: Delete conversion triggers {affiliates}.
slots:
affiliates: requestBody.affiliates
- text: Remove the listed conversion triggers from affiliates.
method: generated
generated: '2026-11-19'
Work with this as data
Every overlay 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 openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/refersion-affiliates-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.