Affise · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Documentation Admin Offers API

27 actions 27 updates phrasing extends openapi/affise-admin-offers-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Affise's API. It is a proposal applied on top of the contract, not a document Affise publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 27 · first 16 shown; the file carries all of them

$.info
$.paths['/3.0/admin/offer'].post
$.paths['/3.0/admin/offer/{id}'].post
$.paths['/3.0/offers/count'].get
$.paths['/ui/offers/available-for/{affiliate_id}'].get
$.paths['/3.0/admin/offer/delete'].post
$.paths['/3.1/offers/{id}/privacy'].get
$.paths['/3.0/admin/offer/sources'].get
$.paths['/3.0/admin/offer/source'].post
$.paths['/3.0/admin/offer/source/{id}'].post
$.paths['/3.0/admin/offer/source/{id}'].delete
$.paths['/3.0/admin/category'].post
$.paths['/3.0/admin/category/{id}'].post
$.paths['/3.0/offer/enable-affiliate'].post
$.paths['/3.0/offer/disable-affiliate'].post
$.paths['/3.0/admin/offer/mass-update'].post

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 Documentation Admin Offers API
  version: 1.0.0
extends: openapi/affise-admin-offers-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-24'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 26
- target: $.paths['/3.0/admin/offer'].post
  update:
    x-apievangelist-phrasing:
      intent: Add an offer
      effect: write
      questions:
      - How do I create a new offer for an advertiser?
      - Can I set a stop date and privacy level when adding an offer?
      instructions:
      - text: Add offer {title} for advertiser {advertiser} with tracking URL {url} and payments {payments}.
        slots:
          title: requestBody.title
          advertiser: requestBody.advertiser
          url: requestBody.url
          payments: requestBody.payments
      - text: Create offer {title} for {advertiser} running until {stopDate}, payments {payments}.
        slots:
          title: requestBody.title
          advertiser: requestBody.advertiser
          stopDate: requestBody.stopDate
          payments: requestBody.payments
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.0/admin/offer/{id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Edit an offer
      effect: write
      questions:
      - How do I change the tracking URL of an existing offer?
      - Can I edit an offer's payments or stop date?
      instructions:
      - text: Change the tracking URL of offer {id} to {url}.
        slots:
          id: path.id
          url: requestBody.url
      - text: Update offer {id} payments to {payments} and stop date to {stopDate}.
        slots:
          id: path.id
          payments: requestBody.payments
          stopDate: requestBody.stopDate
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.0/offers/count'].get
  update:
    x-apievangelist-phrasing:
      intent: Count active offers
      effect: read
      questions:
      - How many offers are currently active?
      - What is the total number of offers in status active?
      instructions:
      - text: Count the active offers.
      - text: Tell me how many offers are active.
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ui/offers/available-for/{affiliate_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: List offers available to an affiliate
      effect: read
      questions:
      - Which offers can a given affiliate see on the partner panel?
      - Can I list offers available to one affiliate without their API key?
      instructions:
      - text: List offers available to affiliate {affiliate_id}.
        slots:
          affiliate_id: path.affiliate_id
      - text: Show the partner panel offers for affiliate {affiliate_id}.
        slots:
          affiliate_id: path.affiliate_id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.0/admin/offer/delete'].post
  update:
    x-apievangelist-phrasing:
      intent: Delete an offer
      effect: destructive
      questions:
      - How do I delete an offer?
      - Can I remove an offer by its ID?
      instructions:
      - text: Delete offer {offer_id}.
        slots:
          offer_id: requestBody.offer_id
      - text: Remove the offer with ID {offer_id}.
        slots:
          offer_id: requestBody.offer_id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.1/offers/{id}/privacy'].get
  update:
    x-apievangelist-phrasing:
      intent: List affiliates enabled or disabled on an offer
      effect: read
      questions:
      - Which affiliates have access to a private offer?
      - What privacy settings does an offer have?
      instructions:
      - text: Show the enabled and disabled affiliates for offer {id}.
        slots:
          id: path.id
      - text: Check the privacy settings of offer {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.0/admin/offer/sources'].get
  update:
    x-apievangelist-phrasing:
      intent: List offer sources
      effect: read
      questions:
      - What sources are available for offers?
      - Can I get the list of offer sources?
      instructions:
      - text: List the offer sources.
      - text: Show every source available for offers.
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.0/admin/offer/source'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a source
      effect: write
      questions:
      - How do I create a new source for managing offers?
      - Can a source have titles in several languages?
      instructions:
      - text: Create a source titled {en} in English.
        slots:
          en: requestBody.title_lang[en]
      - text: Add a new source with titles {en}, {ru}, {es}, {ka} and {vi}.
        slots:
          en: requestBody.title_lang[en]
          ru: requestBody.title_lang[ru]
          es: requestBody.title_lang[es]
          ka: requestBody.title_lang[ka]
          vi: requestBody.title_lang[vi]
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.0/admin/offer/source/{id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Update a source
      effect: write
      questions:
      - How do I edit an existing source?
      - Can I change a source's title in a language I already set?
      instructions:
      - text: Update source {id} to have the English title {en}.
        slots:
          id: path.id
          en: requestBody.title_lang[en]
      - text: Edit source {id} with titles {en}, {ru}, {es}, {ka} and {vi}.
        slots:
          id: path.id
          en: requestBody.title_lang[en]
          ru: requestBody.title_lang[ru]
          es: requestBody.title_lang[es]
          ka: requestBody.title_lang[ka]
          vi: requestBody.title_lang[vi]
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.0/admin/offer/source/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an offer source
      effect: destructive
      questions:
      - How do I delete a source I no longer use for my offers?
      - Can I permanently remove a traffic source by its ID?
      - What happens when I delete a source from the admin offers setup?
      instructions:
      - text: Delete source {id}.
        slots:
          id: path.id
      - text: Permanently remove the source with ID {id} from the offer sources list.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.0/admin/category'].post
  update:
    x-apievangelist-phrasing:
      intent: Add an offer category
      effect: write
      questions:
      - How do I create a new category for offers?
      - Can I add a category with a title in one language?
      instructions:
      - text: Add an offer category titled {title}.
        slots:
          title: requestBody.title
      - text: Create a new category {title} for offers.
        slots:
          title: requestBody.title
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.0/admin/category/{id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Edit an offer category
      effect: write
      questions:
      - How do I rename an existing offer category?
      - Can I change a category's title?
      instructions:
      - text: Rename offer category {id} to {title}.
        slots:
          id: path.id
          title: requestBody.title
      - text: Change the title of category {id} to {title}.
        slots:
          id: path.id
          title: requestBody.title
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.0/offer/enable-affiliate'].post
  update:
    x-apievangelist-phrasing:
      intent: Connect an affiliate to an offer
      effect: write
      questions:
      - How do I connect an affiliate to an offer?
      - Can I notify the affiliate when they are added to an offer?
      instructions:
      - text: Connect affiliate {pid} to offer {offer_id}.
        slots:
          pid: requestBody.pid
          offer_id: requestBody.offer_id
      - text: Add affiliate {pid} to offer {offer_id} and send notice {notice}.
        slots:
          pid: requestBody.pid
          offer_id: requestBody.offer_id
          notice: requestBody.notice
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.0/offer/disable-affiliate'].post
  update:
    x-apievangelist-phrasing:
      intent: Disconnect an affiliate from an offer
      effect: write
      questions:
      - How do I disconnect an affiliate from an offer?
      - Can I notify the affiliate when they are removed?
      instructions:
      - text: Disconnect affiliate {pid} from offer {offer_id}.
        slots:
          pid: requestBody.pid
          offer_id: requestBody.offer_id
      - text: Remove affiliate {pid} from offer {offer_id} and send notice {notice}.
        slots:
          pid: requestBody.pid
          offer_id: requestBody.offer_id
          notice: requestBody.notice
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.0/admin/offer/mass-update'].post
  update:
    x-apievangelist-phrasing:
      intent: Update the status of several offers
      effect: write
      questions:
      - How do I pause or activate many offers at once?
      - Can I change the privacy level of several offers together?
      instructions:
      - text: Set the status of offers {offer_id} to {status}.
        slots:
          offer_id: requestBody.offer_id
          status: requestBody.status
      - text: Change the privacy level of offers {offer_id} to {privacy}.
        slots:
          offer_id: requestBody.offer_id
          privacy: requestBody.privacy
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.0/admin/offer/{id}/disable-affiliates'].post
  update:
    x-apievangelist-phrasing:
      intent: Disconnect all affiliates from a private offer
      effect: destructive
      questions:
      - How do I disconnect every affiliate from a private offer?
      - Can I protect an offer by removing all affiliates?
      instructions:
      - text: Disconnect all affiliates from private offer {id}.
        slots:
          id: path.id
      - text: Protect offer {id} by removing every affiliate.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.0/admin/affiliate/{id}/disable-offers'].post
  update:
    x-apievangelist-phrasing:
      intent: Disconnect all offers from an affiliate
      effect: destructive
      questions:
      - How do I disconnect an affiliate from all offers?
      - Can I remove an affiliate from every private or protected offer?
      instructions:
      - text: Disconnect affiliate {id} from all offers.
        slots:
          id: path.id
      - text: Remove affiliate {id} from every private or protected offer.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.0/admin/offer/{offerId}/tracking-link'].post
  update:
    x-apievangelist-phrasing:
      intent: Generate a tracking link for an affiliate
      effect: write
      questions:
      - How do I generate a tracking link for an affiliate on an offer?
      - Can I include sub1 and sub2 values in the tracking link?
      instructions:
      - text: Generate a tracking link for affiliate {affiliate_id} on offer {offerId}.
        slots:
          affiliate_id: requestBody.affiliate_id
          offerId: path.offerId
      - text: Create a tracking link for affiliate {affiliate_id} on offer {offerId} with sub1 {sub1}.
        slots:
          affiliate_id: requestBody.affiliate_id
          offerId: path.offerId
          sub1: requestBody.sub1
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.0/admin/offer/{id}/remove-creative'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove creatives from an offer
      effect: destructive
      questions:
      - How do I remove a creative from an offer?
      - Can I delete several creatives from an offer at once?
      instructions:
      - text: Remove creatives {creatives} from offer {id}.
        slots:
          creatives: requestBody.creatives
          id: path.id
      - text: Delete the creatives {creatives} on offer {id}.
        slots:
          creatives: requestBody.creatives
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.0/admin/offer/{offer_id}/creative/html/{creative_id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Replace an HTML creative on an offer
      effect: write
      questions:
      - How do I replace the HTML code of an existing creative?
      - Can I resize an HTML creative on an offer?
      instructions:
      - text: Replace creative {creative_id} on offer {offer_id} with HTML code {code}, {width} wide and {height} tall.
        slots:
          creative_id: path.creative_id
          offer_id: path.offer_id
          code: requestBody.code
          width: requestBody.width
          height: requestBody.height
      - text: Update the HTML creative {creative_id} on offer {offer_id} to {code} named {name}.
        slots:
          creative_id: path.creative_id
          offer_id: path.offer_id
          code: requestBody.code
          name: requestBody.name
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.0/admin/offer/{offer_id}/creative/html/{creative_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an HTML creative from an offer
      effect: destructive
      questions:
      - How do I remove an HTML creative from an offer?
      - Can I delete a single HTML creative by its ID?
      instructions:
      - text: Delete HTML creative {creative_id} from offer {offer_id}.
        slots:
          creative_id: path.creative_id
          offer_id: path.offer_id
      - text: Remove the HTML creative {creative_id} on offer {offer_id}.
        slots:
          creative_id: path.creative_id
          offer_id: path.offer_id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.1/offers/promocodes'].get
  update:
    x-apievangelist-phrasing:
      intent: List an offer's promo codes
      effect: read
      questions:
      - What promo codes are set up for an offer?
      - Can I search promo codes by part of the code?
      instructions:
      - text: List promo codes for offer {offer_id}.
        slots:
          offer_id: query.offer_id
      - text: Find promo codes matching {code} for offer {offer_id}.
        slots:
          code: query.code
          offer_id: query.offer_id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.1/offers/promocodes/bulk'].post
  update:
    x-apievangelist-phrasing:
      intent: Create promotional codes in bulk
      effect: write
      questions:
      - How do I generate a batch of promotional codes for an offer?
      - Can I set a usage limit and expiry date on promo codes?
      instructions:
      - text: Create promo code {code} for offer {offer} to affiliate {affiliate} from {from} to {to}, type {type}.
        slots:
          code: requestBody.promocodes[0][code]
          offer: requestBody.promocodes[0][offer_id]
          affiliate: requestBody.promocodes[0][affiliate_id]
          from: requestBody.promocodes[0][date_from]
          to: requestBody.promocodes[0][date_to]
          type: requestBody.promocodes[0][type]
      - text: Bulk add promo code {code} for {offer} to {affiliate} with description {description}, type {type}, {from} to {to}, limited to {limit} uses.
        slots:
          code: requestBody.promocodes[0][code]
          offer: requestBody.promocodes[0][offer_id]
          affiliate: requestBody.promocodes[0][affiliate_id]
          description: requestBody.promocodes[0][description]
          type: requestBody.promocodes[0][type]
          from: requestBody.promocodes[0][date_from]
          to: requestBody.promocodes[0][date_to]
          limit: requestBody.promocodes[0][usage_limit]
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.0/offers'].get
  update:
    x-apievangelist-phrasing:
      intent: List offers
      effect: read
      questions:
      - Which offers are running for a given advertiser?
      - Can I filter offers by country, OS or status?
      - What offers have a daily cap?
      instructions:
      - text: List offers for advertiser {advertiser}.
        slots:
          advertiser: query.advertiser
      - text: Find offers in countries {countries} for OS {os}.
        slots:
          countries: query.countries
          os: query.os
      - text: List offers with status {status}.
        slots:
          status: query.status
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.0/offer/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an offer
      effect: read
      questions:
      - What are the details of one offer?
      - Can I look up an offer by its ID?
      instructions:
      - text: Get offer {id}.
        slots:
          id: path.id
      - text: Show the details of offer {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/3.0/offer/categories'].get
  update:
    x-apievangelist-phrasing:
      intent: List offer categories
      effect: read
      questions:
      - What categories can offers be grouped into?
      - Can I sort the offer categories?
      instructions:
      - text: List offer categories.
      - text: Show offer categories ordered by {order}.
        slots:
          order: query.order
      method: generated
      generated: '2026-11-24'

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/affise-admin-offers-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.