FirstPromoter · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for FirstPromoter PromoCodes Promo Codes API

6 actions 6 updates phrasing extends openapi/firstpromoter-promo-codes-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for FirstPromoter's API. It is a proposal applied on top of the contract, not a document FirstPromoter publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 6

$.info
$.paths['/promo_codes'].get
$.paths['/promo_codes'].post
$.paths['/promo_codes/{id}'].get
$.paths['/promo_codes/{id}'].put
$.paths['/promo_codes/{id}'].delete

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 FirstPromoter PromoCodes Promo Codes API
  version: 1.0.0
extends: openapi/firstpromoter-promo-codes-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-26'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 5
- target: $.paths['/promo_codes'].get
  update:
    x-apievangelist-phrasing:
      intent: List promo codes
      effect: read
      questions:
      - Which promo codes have been issued for a promoter campaign?
      - Can I list promo codes for one campaign?
      instructions:
      - text: List promo codes for promoter campaign {promoter_campaign_id}.
        slots:
          promoter_campaign_id: query.promoter_campaign_id
      - text: Show all promo codes in account {Account-ID}.
        slots:
          Account-ID: header.Account-ID
      method: generated
      generated: '2026-11-26'
- target: $.paths['/promo_codes'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a promo code
      effect: write
      questions:
      - How do I create a promo code that gives a Stripe reward?
      - Can I add a description and metadata to a new promo code?
      instructions:
      - text: Create promo code {code} with reward {reward_id} for campaign {promoter_campaign_id}.
        slots:
          code: requestBody.code
          reward_id: requestBody.reward_id
          promoter_campaign_id: requestBody.promoter_campaign_id
      - text: Add promo code {code} giving reward {reward_id} in campaign {promoter_campaign_id} described as {description}.
        slots:
          code: requestBody.code
          reward_id: requestBody.reward_id
          promoter_campaign_id: requestBody.promoter_campaign_id
          description: requestBody.description
      method: generated
      generated: '2026-11-26'
- target: $.paths['/promo_codes/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a promo code
      effect: read
      questions:
      - What are the details of one promo code?
      - Can I look up a promo code by its ID?
      instructions:
      - text: Get promo code {id}.
        slots:
          id: path.id
      - text: Show the details of promo code {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/promo_codes/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a promo code
      effect: write
      questions:
      - Can I change the code or description of an existing promo code?
      - Why can't I update a promo code that is archived?
      instructions:
      - text: Change promo code {id} to {code}.
        slots:
          id: path.id
          code: requestBody.code
      - text: Update the description of promo code {id} to {description}.
        slots:
          id: path.id
          description: requestBody.description
      method: generated
      generated: '2026-11-26'
- target: $.paths['/promo_codes/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Archive a promo code
      effect: destructive
      questions:
      - How do I retire a promo code so it can't be used?
      - Can I archive a promo code by its ID?
      instructions:
      - text: Archive promo code {id}.
        slots:
          id: path.id
      - text: Retire promo code {id} so it is no longer redeemable.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-26'

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/firstpromoter-promo-codes-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.