Thanx · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Thanx Partner Auth API

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

What the actions change

x-apievangelist-phrasing

Targets 2

$.info
$.paths['/partner/oauth/token'].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 Thanx Partner Auth API
  version: 1.0.0
extends: openapi/thanx-auth-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-09-26'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 1
- target: $.paths['/partner/oauth/token'].post
  update:
    x-apievangelist-phrasing:
      intent: Get an access token for a merchant's end user
      effect: write
      questions:
      - How do I get a privileged access token to act on behalf of a loyalty member?
      - Can I request a user token by email or phone number instead of user ID?
      - Is it possible to set how long a partner-issued user token stays valid?
      instructions:
      - text: Create an access token for user {user_id} at merchant {merchant_id}.
        slots:
          user_id: requestBody.user_id
          merchant_id: requestBody.merchant_id
      - text: Get a user token for {email} at merchant {merchant_id}.
        slots:
          email: requestBody.email
          merchant_id: requestBody.merchant_id
      - text: Issue a token for phone {phone} at merchant {merchant_id} that expires in {expires_in} seconds.
        slots:
          phone: requestBody.phone
          merchant_id: requestBody.merchant_id
          expires_in: requestBody.expires_in
      method: generated
      generated: '2026-09-26'