Givebutter · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Givebutter API Documentation Campaign Discount Codes API

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

What the actions change

x-apievangelist-phrasing

Targets 6

$.info
$.paths['/v1/campaigns/{campaign}/discount-codes'].get
$.paths['/v1/campaigns/{campaign}/discount-codes'].post
$.paths['/v1/campaigns/{campaign}/discount-codes/{discountCode}'].get
$.paths['/v1/campaigns/{campaign}/discount-codes/{discountCode}'].put
$.paths['/v1/campaigns/{campaign}/discount-codes/{discountCode}'].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 Givebutter API Documentation Campaign Discount Codes API
  version: 1.0.0
extends: openapi/givebutter-campaign-discount-codes-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: 5
- target: $.paths['/v1/campaigns/{campaign}/discount-codes'].get
  update:
    x-apievangelist-phrasing:
      intent: List a campaign's discount codes
      effect: read
      questions:
      - What discount codes have I created for a campaign?
      - Can I see all the promo codes set up for a fundraiser?
      instructions:
      - text: List discount codes for campaign {campaign}.
        slots:
          campaign: path.campaign
      - text: Show every promo code on {campaign}.
        slots:
          campaign: path.campaign
      method: generated
      generated: '2026-11-21'
- target: $.paths['/v1/campaigns/{campaign}/discount-codes'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a discount code
      effect: write
      questions:
      - How do I create a promo code for a campaign?
      - Can I cap how many times a discount code can be used?
      instructions:
      - text: Create a {type} discount code {code} worth {amount} for campaign {campaign}.
        slots:
          type: requestBody.type
          code: requestBody.code
          amount: requestBody.amount
          campaign: path.campaign
      - text: Add a {type} promo code {code} on {campaign} that expires {expires_at}.
        slots:
          type: requestBody.type
          code: requestBody.code
          campaign: path.campaign
          expires_at: requestBody.expires_at
      method: generated
      generated: '2026-11-21'
- target: $.paths['/v1/campaigns/{campaign}/discount-codes/{discountCode}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a discount code
      effect: read
      questions:
      - What amount and expiry does a specific discount code have?
      - Can I look up one promo code by its ID?
      instructions:
      - text: Get discount code {discountCode} on campaign {campaign}.
        slots:
          discountCode: path.discountCode
          campaign: path.campaign
      - text: Show the details of promo code {discountCode} for {campaign}.
        slots:
          discountCode: path.discountCode
          campaign: path.campaign
      method: generated
      generated: '2026-11-21'
- target: $.paths['/v1/campaigns/{campaign}/discount-codes/{discountCode}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a discount code
      effect: write
      questions:
      - Can I change the amount of an existing discount code?
      - Is it possible to deactivate a promo code I already created?
      instructions:
      - text: Set discount code {discountCode} on {campaign} to {amount}.
        slots:
          discountCode: path.discountCode
          campaign: path.campaign
          amount: requestBody.amount
      - text: Deactivate promo code {discountCode} for {campaign}.
        slots:
          discountCode: path.discountCode
          campaign: path.campaign
      method: generated
      generated: '2026-11-21'
- target: $.paths['/v1/campaigns/{campaign}/discount-codes/{discountCode}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a discount code
      effect: destructive
      questions:
      - How do I remove a discount code from a campaign?
      - Can I delete a promo code I no longer offer?
      instructions:
      - text: Delete discount code {discountCode} from campaign {campaign}.
        slots:
          discountCode: path.discountCode
          campaign: path.campaign
      - text: Remove promo code {discountCode} on {campaign}.
        slots:
          discountCode: path.discountCode
          campaign: path.campaign
      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/givebutter-campaign-discount-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.