Recurly · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Recurly Unique Coupon Code API

12 actions 12 updates phrasing extends openapi/recurly-unique-coupon-code-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.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 12

$.info
$.paths['/coupons/{coupon_id}/generate'].post
$.paths['/coupons/{coupon_id}/generate_sync'].post
$.paths['/coupons/{coupon_id}/unique_coupon_codes'].get
$.paths['/unique_coupon_codes/{unique_coupon_code_id}'].get
$.paths['/unique_coupon_codes/{unique_coupon_code_id}'].delete
$.paths['/unique_coupon_codes/{unique_coupon_code_id}/restore'].put
$.paths['/sites/{site_id}/coupons/{coupon_id}/generate'].post
$.paths['/sites/{site_id}/coupons/{coupon_id}/unique_coupon_codes'].get
$.paths['/sites/{site_id}/unique_coupon_codes/{unique_coupon_code_id}'].get
$.paths['/sites/{site_id}/unique_coupon_codes/{unique_coupon_code_id}'].delete
$.paths['/sites/{site_id}/unique_coupon_codes/{unique_coupon_code_id}/restore'].put

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Recurly Unique Coupon Code API
  version: 1.0.0
extends: openapi/recurly-unique-coupon-code-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: 11
- target: $.paths['/coupons/{coupon_id}/generate'].post
  update:
    x-apievangelist-phrasing:
      intent: Generate many unique codes for a bulk coupon
      effect: write
      questions:
      - How do I generate a batch of unique coupon codes for a bulk coupon?
      - Can I generate up to 200 codes in one request?
      instructions:
      - text: Generate {number_of_unique_codes} unique codes for bulk coupon {coupon_id}.
        slots:
          number_of_unique_codes: requestBody.number_of_unique_codes
          coupon_id: path.coupon_id
      - text: Bulk-generate a new batch of unique coupon codes on {coupon_id}.
        slots:
          coupon_id: path.coupon_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/coupons/{coupon_id}/generate_sync'].post
  update:
    x-apievangelist-phrasing:
      intent: Generate up to 200 unique codes synchronously
      effect: write
      questions:
      - Can I get the generated unique codes back immediately instead of later?
      - What is the maximum number of codes generated in a single synchronous request?
      instructions:
      - text: Generate {number_of_unique_codes} unique codes for bulk coupon {coupon_id} and return them now.
        slots:
          number_of_unique_codes: requestBody.number_of_unique_codes
          coupon_id: path.coupon_id
      - text: Synchronously generate up to 200 unique codes on {coupon_id}.
        slots:
          coupon_id: path.coupon_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/coupons/{coupon_id}/unique_coupon_codes'].get
  update:
    x-apievangelist-phrasing:
      intent: List unique codes on a bulk coupon
      effect: read
      questions:
      - Which unique codes have been issued for a bulk coupon?
      - Can I filter a bulk coupon's codes by redemption status?
      instructions:
      - text: List the unique codes on bulk coupon {coupon_id}.
        slots:
          coupon_id: path.coupon_id
      - text: Show {redeemed} codes for bulk coupon {coupon_id}.
        slots:
          redeemed: query.redeemed
          coupon_id: path.coupon_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/unique_coupon_codes/{unique_coupon_code_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Fetch a unique coupon code
      effect: read
      questions:
      - What is the status of one specific unique coupon code?
      - Can I look up a single unique code by its ID?
      instructions:
      - text: Fetch unique coupon code {unique_coupon_code_id}.
        slots:
          unique_coupon_code_id: path.unique_coupon_code_id
      - text: Show the redemption status of unique code {unique_coupon_code_id}.
        slots:
          unique_coupon_code_id: path.unique_coupon_code_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/unique_coupon_codes/{unique_coupon_code_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Deactivate a unique coupon code
      effect: destructive
      questions:
      - How do I expire a single unique code so it can no longer be redeemed?
      - Does deactivating a unique code affect the bulk coupon it belongs to?
      instructions:
      - text: Deactivate unique coupon code {unique_coupon_code_id}.
        slots:
          unique_coupon_code_id: path.unique_coupon_code_id
      - text: Expire unique code {unique_coupon_code_id} so it is no longer redeemable.
        slots:
          unique_coupon_code_id: path.unique_coupon_code_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/unique_coupon_codes/{unique_coupon_code_id}/restore'].put
  update:
    x-apievangelist-phrasing:
      intent: Restore a deactivated unique code
      effect: write
      questions:
      - Can I bring back a unique code I deactivated earlier?
      - Is there a way to undo deactivating a single unique code?
      instructions:
      - text: Restore deactivated unique coupon code {unique_coupon_code_id}.
        slots:
          unique_coupon_code_id: path.unique_coupon_code_id
      - text: Reactivate unique code {unique_coupon_code_id} so it can be redeemed again.
        slots:
          unique_coupon_code_id: path.unique_coupon_code_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/sites/{site_id}/coupons/{coupon_id}/generate'].post
  update:
    x-apievangelist-phrasing:
      intent: Generate unique codes for a coupon on a site
      effect: write
      questions:
      - How do I generate unique codes for a coupon on a specific site?
      - Can I bulk-generate codes for a coupon within a site's account?
      instructions:
      - text: Generate {number_of_unique_codes} unique codes for coupon {coupon_id} on site {site_id}.
        slots:
          number_of_unique_codes: requestBody.number_of_unique_codes
          coupon_id: path.coupon_id
          site_id: path.site_id
      - text: Bulk-generate unique codes for coupon {coupon_id} in site {site_id}.
        slots:
          coupon_id: path.coupon_id
          site_id: path.site_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/sites/{site_id}/coupons/{coupon_id}/unique_coupon_codes'].get
  update:
    x-apievangelist-phrasing:
      intent: List a bulk coupon's unique codes
      effect: read
      questions:
      - What unique redemption codes were issued for one bulk discount coupon?
      - Which codes from a coupon were generated between two dates?
      instructions:
      - text: List unique codes for coupon {coupon_id} in site {site}.
        slots:
          coupon_id: path.coupon_id
          site: path.site_id
      - text: Show bulk coupon {coupon_id} codes from {begin_time} to {end_time}.
        slots:
          coupon_id: path.coupon_id
          begin_time: query.begin_time
          end_time: query.end_time
      method: generated
      generated: '2026-11-21'
- target: $.paths['/sites/{site_id}/unique_coupon_codes/{unique_coupon_code_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Fetch a unique code on a site
      effect: read
      questions:
      - What is the status of a unique code on a specific site?
      - Can I look up one unique code within a site's account?
      instructions:
      - text: Fetch unique coupon code {unique_coupon_code_id} on site {site_id}.
        slots:
          unique_coupon_code_id: path.unique_coupon_code_id
          site_id: path.site_id
      - text: Show the redemption status of unique code {unique_coupon_code_id} in site {site_id}.
        slots:
          unique_coupon_code_id: path.unique_coupon_code_id
          site_id: path.site_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/sites/{site_id}/unique_coupon_codes/{unique_coupon_code_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Deactivate a unique code on a site
      effect: destructive
      questions:
      - How do I expire a unique code on a specific site?
      - Does deactivating a site-level unique code affect the parent coupon?
      instructions:
      - text: Deactivate unique coupon code {unique_coupon_code_id} on site {site_id}.
        slots:
          unique_coupon_code_id: path.unique_coupon_code_id
          site_id: path.site_id
      - text: Expire unique code {unique_coupon_code_id} in site {site_id}.
        slots:
          unique_coupon_code_id: path.unique_coupon_code_id
          site_id: path.site_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/sites/{site_id}/unique_coupon_codes/{unique_coupon_code_id}/restore'].put
  update:
    x-apievangelist-phrasing:
      intent: Restore a deactivated unique code on a site
      effect: write
      questions:
      - Can I reactivate a unique code I deactivated on a site?
      - Is there a way to undo deactivating a site-level unique code?
      instructions:
      - text: Restore deactivated unique coupon code {unique_coupon_code_id} on site {site_id}.
        slots:
          unique_coupon_code_id: path.unique_coupon_code_id
          site_id: path.site_id
      - text: Reactivate unique code {unique_coupon_code_id} in site {site_id}.
        slots:
          unique_coupon_code_id: path.unique_coupon_code_id
          site_id: path.site_id
      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.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/recurly-unique-coupon-code-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.