Switchfly · Authentication Profile

Switchfly Authentication

Authentication

Switchfly secures its APIs with http and oauth2 across 2 declared security schemes, as derived from its OpenAPI definitions.

CompanyTravelLoyaltyTravel TechnologyRewardsBookingDynamic PackagingWhite LabelPoints RedemptionTravel Commerce
Methods: http, oauth2 Schemes: 2 OAuth flows: API key in:

Security Schemes

bearerAuth http
scheme: bearer · in: header ()
adminBearerAuth http
scheme: bearer · in: header ()

Source

Authentication Profile

Raw ↑
generated: '2026-07-21'
method: searched
source: https://www.switchfly.com/dev/api-documentation/loyalty
summary:
  types:
  - http
  - oauth2
  overview: >-
    The Switchfly Loyalty API authenticates via OAuth 2 SSO. Two HTTP bearer
    schemes are declared in the OpenAPI: bearerAuth (traveler/SSO tokens) and
    adminBearerAuth (machine-to-machine client-credentials tokens). Supported
    grant types are authorization_code (with PKCE) and client_credentials.
schemes:
- name: bearerAuth
  type: http
  scheme: bearer
  description: >-
    Bearer token retrieved from OAuth 2 SSO token requests (POST /token). Used
    for traveler-facing loyalty actions such as fetching a profile and redeeming
    points.
  in: header
  header: Authorization
  sources:
  - openapi/switchfly-loyalty-openapi.json
- name: adminBearerAuth
  type: http
  scheme: bearer
  description: >-
    Bearer token retrieved from a Machine-to-Machine OAuth 2 client_credentials
    token request (POST /admin/token). Used for administrative/M2M operations
    such as refunds.
  in: header
  header: Authorization
  sources:
  - openapi/switchfly-loyalty-openapi.json
oauth2:
  grant_types:
  - authorization_code
  - client_credentials
  pkce: true
  token_endpoint: POST /token
  admin_token_endpoint: POST /admin/token
  notes: >-
    Clients with an existing internal SSO token can consolidate authorization via
    the client_credentials flow using client_id and client_secret. Per-partner
    token endpoints are served from a templated {domain}.switchfly.com host.

Work with this as data

Every security artifact 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 security posture

4 MCP tools reach this
  • find_securityBrowse and filter every security artifact 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 security artifact
curl "https://apis.io/api/v1/security/switchfly-authentication"
All security posture
curl "https://apis.io/api/v1/security?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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