Recurly · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Recurly V2 Coupons API
9 actions
9 updates
phrasing
extends
openapi/recurly-coupons-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 9
$.info
$.paths['/coupons'].get
$.paths['/coupons'].post
$.paths['/coupons/{coupon_code}'].get
$.paths['/coupons/{coupon_code}'].put
$.paths['/coupons/{coupon_code}'].delete
$.paths['/coupons/{coupon_code}/generate'].post
$.paths['/coupons/{coupon_code}/restore'].put
$.paths['/coupons/{coupon_code}/unique_coupon_codes'].get
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 V2 Coupons API
version: 1.0.0
extends: openapi/recurly-coupons-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: 8
- target: $.paths['/coupons'].get
update:
x-apievangelist-phrasing:
intent: List coupons
effect: read
questions:
- What coupons are still redeemable?
- Can I list coupons that expired or maxed out?
instructions:
- text: List all coupons.
- text: List coupons in state {state}.
slots:
state: query.state
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 coupon that gives a percentage discount?
- Can a new coupon be limited to certain plans?
instructions:
- text: Create coupon {coupon_code} named {name} with a {discount_type} discount.
slots:
coupon_code: requestBody.coupon_code
name: requestBody.name
discount_type: requestBody.discount_type
- text: Create a {discount_type} coupon {coupon_code} for plans {plan_codes}.
slots:
discount_type: requestBody.discount_type
coupon_code: requestBody.coupon_code
plan_codes: requestBody.plan_codes
method: generated
generated: '2026-11-21'
- target: $.paths['/coupons/{coupon_code}'].get
update:
x-apievangelist-phrasing:
intent: Look up a coupon
effect: read
questions:
- What discount and expiry does a particular coupon offer?
- Which coupon code is the most recent one?
instructions:
- text: Look up coupon {coupon_code}.
slots:
coupon_code: path.coupon_code
- text: Show the discount terms of coupon code {coupon_code}.
slots:
coupon_code: path.coupon_code
method: generated
generated: '2026-11-21'
- target: $.paths['/coupons/{coupon_code}'].put
update:
x-apievangelist-phrasing:
intent: Edit a redeemable coupon
effect: write
questions:
- Can I extend the redemption deadline on a coupon that is about to expire?
- Is it possible to raise the maximum redemptions on a redeemable coupon?
instructions:
- text: Set the redeem-by date of coupon {coupon_code} to {redeem_by_date}.
slots:
coupon_code: path.coupon_code
redeem_by_date: requestBody.redeem_by_date
- text: Change the max redemptions of redeemable coupon {coupon_code} to {max_redemptions}.
slots:
coupon_code: path.coupon_code
max_redemptions: requestBody.max_redemptions
method: generated
generated: '2026-11-21'
- target: $.paths['/coupons/{coupon_code}'].delete
update:
x-apievangelist-phrasing:
intent: Expire a coupon
effect: destructive
questions:
- How do I stop customers from redeeming a coupon?
- Can I expire a bulk coupon's unique codes by their prefix?
instructions:
- text: Expire coupon {coupon_code}.
slots:
coupon_code: path.coupon_code
- text: Stop customers from redeeming the {coupon_code} coupon.
slots:
coupon_code: path.coupon_code
method: generated
generated: '2026-11-21'
- target: $.paths['/coupons/{coupon_code}/generate'].post
update:
x-apievangelist-phrasing:
intent: Generate unique codes for a bulk coupon
effect: write
questions:
- How do I generate unique redemption codes for a bulk coupon campaign?
- What is the maximum number of unique codes a bulk coupon can have?
instructions:
- text: Generate {number_of_unique_codes} unique codes for bulk coupon {coupon_code}.
slots:
number_of_unique_codes: requestBody.number_of_unique_codes
coupon_code: path.coupon_code
- text: Create new unique codes for the {coupon_code} coupon campaign.
slots:
coupon_code: path.coupon_code
method: generated
generated: '2026-11-21'
- target: $.paths['/coupons/{coupon_code}/restore'].put
update:
x-apievangelist-phrasing:
intent: Restore an expired coupon
effect: write
questions:
- Can I make an expired coupon redeemable again?
- What do I need to change to restore a coupon that reached its max redemptions?
instructions:
- text: Restore expired coupon {coupon_code}.
slots:
coupon_code: path.coupon_code
- text: Make coupon {coupon_code} redeemable again with a new redeem-by date of {redeem_by_date}.
slots:
coupon_code: path.coupon_code
redeem_by_date: requestBody.redeem_by_date
method: generated
generated: '2026-11-21'
- target: $.paths['/coupons/{coupon_code}/unique_coupon_codes'].get
update:
x-apievangelist-phrasing:
intent: List a bulk coupon's unique codes
effect: read
questions:
- Which unique codes for a bulk coupon have already been redeemed?
- Can I page through the unique codes of a coupon campaign?
instructions:
- text: List the unique codes of bulk coupon {coupon_code}.
slots:
coupon_code: path.coupon_code
- text: Show {redeemed} unique codes for coupon {coupon_code}.
slots:
redeemed: query.redeemed
coupon_code: path.coupon_code
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-coupons-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.