Generated by API Evangelist
Written by API Evangelist tooling for Mastercard's API. It is a proposal applied on top of the contract, not a document Mastercard publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for User Management CLS Activations API
version: 1.0.0
extends: openapi/mastercard-cls-activations-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: 3
- target: $.paths['/cls/accounts/activations'].post
update:
x-apievangelist-phrasing:
intent: Activate a card offer for a user
effect: write
questions:
- How do I link a customer's card to a CLS offer?
- Can I set an expiration date on a new offer activation?
instructions:
- text: Activate {transactionFilterCode} for user {userId} with status {activationStatus}.
slots:
transactionFilterCode: requestBody.transactionFilterCode
userId: requestBody.userId
activationStatus: requestBody.activationStatus
- text: Link card offer {transactionFilterCode} to {userId} ({userIdType}) expiring {expirationDate}.
slots:
transactionFilterCode: requestBody.transactionFilterCode
userId: requestBody.userId
userIdType: requestBody.userIdType
expirationDate: requestBody.expirationDate
method: generated
generated: '2026-11-21'
- target: $.paths['/cls/accounts/{account_id}/activations'].get
update:
x-apievangelist-phrasing:
intent: List an account's offer activations
effect: read
questions:
- Which CLS offers are activated on an account?
- Can I filter an account's activations by status?
instructions:
- text: List activations on account {account_id}.
slots:
account_id: path.account_id
- text: Show {activation_status} activations for account {account_id}.
slots:
activation_status: query.activation_status
account_id: path.account_id
method: generated
generated: '2026-11-21'
- target: $.paths['/cls/accounts/{account_id}/activations/{activation_id}'].put
update:
x-apievangelist-phrasing:
intent: Update an existing offer activation
effect: write
questions:
- How do I change the status of an existing offer activation?
- Can I extend the expiration of an activation?
instructions:
- text: Set activation {activation_id} on account {account_id} to status {activationStatus}.
slots:
activation_id: path.activation_id
account_id: path.account_id
activationStatus: requestBody.activationStatus
- text: Change the expiration of activation {activation_id} on {account_id} to {expirationDate}.
slots:
activation_id: path.activation_id
account_id: path.account_id
expirationDate: requestBody.expirationDate
method: generated
generated: '2026-11-21'
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.