Switchfly · OpenAPI Overlay 1.0.0

API Evangelist enrichment overlay for the Switchfly Loyalty API

4 actions 4 updates servers
Generated by API Evangelist Written by API Evangelist tooling for Switchfly's API. It is a proposal applied on top of the contract, not a document Switchfly publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-mutatingx-confirm-requiredx-api-evangelistservers

Targets 4

$.info
$
$.paths['/redeem'].post
$.paths['/refund'].post

OpenAPI Overlay

Raw ↑
overlay: 1.0.0
info:
  title: API Evangelist enrichment overlay for the Switchfly Loyalty API
  version: 1.0.0
x-meta:
  generated: '2026-07-21'
  method: generated
  source: openapi/switchfly-loyalty-openapi.json
  extends: openapi/switchfly-loyalty-openapi.json
actions:
- target: $.info
  description: Record the production/documentation host and API Evangelist provenance.
  update:
    x-api-evangelist:
      provider: switchfly
      documentation: https://www.switchfly.com/dev/api-documentation/loyalty
      host_pattern: https://{domain}.switchfly.com
      enriched: '2026-07-21'
- target: $
  description: Add a servers[] entry (the source spec omits servers).
  update:
    servers:
    - url: https://{domain}.switchfly.com
      description: Per-partner white-label host (templated).
      variables:
        domain:
          default: www
          description: Partner-specific subdomain assigned by Switchfly.
- target: $.paths['/redeem'].post
  description: Flag Redeem as a balance-mutating operation for agent safety.
  update:
    x-mutating: true
    x-confirm-required: true
- target: $.paths['/refund'].post
  description: Flag Refund as a balance-mutating operation for agent safety.
  update:
    x-mutating: true
    x-confirm-required: true

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/switchfly-loyalty-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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.