Recurly · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Recurly Coupon API
13 actions
13 updates
phrasing
extends
openapi/recurly-coupon-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Recurly's API. It is a proposal applied on top of the contract, not a document Recurly publishes.
What the actions change
x-apievangelist-phrasing
Targets 13
$.info
$.paths['/coupons'].get
$.paths['/coupons'].post
$.paths['/coupons/{coupon_id}'].get
$.paths['/coupons/{coupon_id}'].put
$.paths['/coupons/{coupon_id}'].delete
$.paths['/coupons/{coupon_id}/restore'].put
$.paths['/sites/{site_id}/coupons'].get
$.paths['/sites/{site_id}/coupons'].post
$.paths['/sites/{site_id}/coupons/{coupon_id}'].get
$.paths['/sites/{site_id}/coupons/{coupon_id}'].put
$.paths['/sites/{site_id}/coupons/{coupon_id}'].delete
$.paths['/sites/{site_id}/coupons/{coupon_id}/restore'].put
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 Recurly Coupon API
version: 1.0.0
extends: openapi/recurly-coupon-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-21'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 12
- target: $.paths['/coupons'].get
update:
x-apievangelist-phrasing:
intent: List coupons on the main site
effect: read
questions:
- What coupons are set up on my main site?
- Can I list coupons that expire by a certain date?
instructions:
- text: List all coupons on the main site.
- text: Show coupons on the main site created between {begin_time} and {end_time}.
slots:
begin_time: query.begin_time
end_time: query.end_time
method: generated
generated: '2026-11-21'
- target: $.paths['/coupons'].post
update:
x-apievangelist-phrasing:
intent: Create a coupon
effect: write
questions:
- How do I create a discount coupon for my customers?
- Can a coupon apply to all plans or just certain ones?
instructions:
- text: Create coupon {code} with {discount_type} discount.
slots:
code: requestBody.code
discount_type: requestBody.discount_type
- text: Create a {discount_type} coupon {code} that applies to plans {plan_codes}.
slots:
discount_type: requestBody.discount_type
code: requestBody.code
plan_codes: requestBody.plan_codes
method: generated
generated: '2026-11-21'
- target: $.paths['/coupons/{coupon_id}'].get
update:
x-apievangelist-phrasing:
intent: Get a coupon
effect: read
questions:
- How do I look up one coupon by its code?
- What discount and redemption limits does a coupon have?
instructions:
- text: Show coupon {coupon_id}.
slots:
coupon_id: path.coupon_id
- text: Fetch the details of coupon {coupon_id}.
slots:
coupon_id: path.coupon_id
method: generated
generated: '2026-11-21'
- target: $.paths['/coupons/{coupon_id}'].put
update:
x-apievangelist-phrasing:
intent: Update a site-level coupon
effect: write
questions:
- How do I change a coupon's name or description across the whole site?
- Can I cap how many times a site-wide coupon can be redeemed?
instructions:
- text: Rename site-level coupon {coupon_id} to {name}.
slots:
coupon_id: path.coupon_id
name: requestBody.name
- text: Set the maximum redemptions on site-level coupon {coupon_id} to {max_redemptions}.
slots:
coupon_id: path.coupon_id
max_redemptions: requestBody.max_redemptions
method: generated
generated: '2026-11-21'
- target: $.paths['/coupons/{coupon_id}'].delete
update:
x-apievangelist-phrasing:
intent: Expire a coupon
effect: destructive
questions:
- How do I stop a coupon from being redeemable?
- Can I mark a coupon as expired without deleting it?
instructions:
- text: Expire coupon {coupon_id}.
slots:
coupon_id: path.coupon_id
- text: Mark active coupon {coupon_id} as expired.
slots:
coupon_id: path.coupon_id
method: generated
generated: '2026-11-21'
- target: $.paths['/coupons/{coupon_id}/restore'].put
update:
x-apievangelist-phrasing:
intent: Restore an expired coupon
effect: write
questions:
- Can I make an expired coupon redeemable again?
- What happens to a coupon's redemption limit when I restore it?
instructions:
- text: Restore expired coupon {coupon_id}.
slots:
coupon_id: path.coupon_id
- text: Make expired coupon {coupon_id} redeemable again.
slots:
coupon_id: path.coupon_id
method: generated
generated: '2026-11-21'
- target: $.paths['/sites/{site_id}/coupons'].get
update:
x-apievangelist-phrasing:
intent: List a site's coupons
effect: read
questions:
- How do I list coupons on a specific site?
- Can I filter a site's coupons by code?
instructions:
- text: List coupons on site {site_id}.
slots:
site_id: path.site_id
- text: Show site {site_id} coupons with codes {ids}.
slots:
site_id: path.site_id
ids: query.ids
method: generated
generated: '2026-11-21'
- target: $.paths['/sites/{site_id}/coupons'].post
update:
x-apievangelist-phrasing:
intent: Create a coupon on a site
effect: write
questions:
- Can I create a coupon for a particular site?
- What discount types can a site-level coupon have?
instructions:
- text: Create coupon {code} on site {site_id} with {discount_type} discount.
slots:
code: requestBody.code
site_id: path.site_id
discount_type: requestBody.discount_type
- text: Create a {discount_type} coupon {code} on site {site_id} for plans {plan_codes}.
slots:
discount_type: requestBody.discount_type
code: requestBody.code
site_id: path.site_id
plan_codes: requestBody.plan_codes
method: generated
generated: '2026-11-21'
- target: $.paths['/sites/{site_id}/coupons/{coupon_id}'].get
update:
x-apievangelist-phrasing:
intent: Get a coupon on a site
effect: read
questions:
- How do I fetch one coupon from a specific site?
- What does a site-level coupon look like?
instructions:
- text: Show coupon {coupon_id} on site {site_id}.
slots:
coupon_id: path.coupon_id
site_id: path.site_id
- text: Fetch site {site_id} coupon {coupon_id}.
slots:
site_id: path.site_id
coupon_id: path.coupon_id
method: generated
generated: '2026-11-21'
- target: $.paths['/sites/{site_id}/coupons/{coupon_id}'].put
update:
x-apievangelist-phrasing:
intent: Update a coupon on one hosted site
effect: write
questions:
- Can I edit a coupon that only applies to a specific hosted site?
- What fields can I change on a site-specific coupon?
instructions:
- text: Update coupon {coupon_id} on hosted site {site_id} with name {name}.
slots:
coupon_id: path.coupon_id
site_id: path.site_id
name: requestBody.name
- text: Set hosted site {site_id}'s coupon {coupon_id} redeem-by date to {redeem_by_date}.
slots:
site_id: path.site_id
coupon_id: path.coupon_id
redeem_by_date: requestBody.redeem_by_date
method: generated
generated: '2026-11-21'
- target: $.paths['/sites/{site_id}/coupons/{coupon_id}'].delete
update:
x-apievangelist-phrasing:
intent: Expire a coupon on a site
effect: destructive
questions:
- How do I stop a coupon on a specific site from being used?
- Can I expire a site-level coupon?
instructions:
- text: Expire coupon {coupon_id} on site {site_id}.
slots:
coupon_id: path.coupon_id
site_id: path.site_id
- text: Mark site {site_id} coupon {coupon_id} as expired.
slots:
site_id: path.site_id
coupon_id: path.coupon_id
method: generated
generated: '2026-11-21'
- target: $.paths['/sites/{site_id}/coupons/{coupon_id}/restore'].put
update:
x-apievangelist-phrasing:
intent: Reactivate an expired coupon
effect: write
questions:
- Can I bring an expired coupon back to life?
- Does restoring a coupon let me change the redemption limit?
instructions:
- text: Restore expired coupon {coupon_id} on hosted site {site_id}.
slots:
coupon_id: path.coupon_id
site_id: path.site_id
- text: Reactivate coupon {coupon_id} on site {site_id} with {max_redemptions} redemptions.
slots:
coupon_id: path.coupon_id
site_id: path.site_id
max_redemptions: requestBody.max_redemptions
method: generated
generated: '2026-11-21'
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/recurly-coupon-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.