Generated by API Evangelist
Written by API Evangelist tooling for S2 Dev's API. It is a proposal applied on top of the contract, not a document S2 Dev publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for S2, the durable streams Access Tokens API
version: 1.0.0
extends: openapi/s2-dev-access-tokens-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-25'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/access-tokens'].get
update:
x-apievangelist-phrasing:
intent: List access tokens
effect: read
questions:
- Which access tokens have been issued for my streams?
- Can I list only the tokens whose IDs start with a given prefix?
instructions:
- text: List my access tokens.
- text: List access tokens whose IDs begin with {prefix}.
slots:
prefix: query.prefix
method: generated
generated: '2026-11-25'
- target: $.paths['/access-tokens'].post
update:
x-apievangelist-phrasing:
intent: Issue a new access token
effect: write
questions:
- How do I issue a new access token with a limited scope?
- Can I make a new token expire automatically?
instructions:
- text: Issue an access token {id} with scope {scope}.
slots:
id: requestBody.id
scope: requestBody.scope
- text: Issue token {id} scoped to {scope} that expires at {expires_at}.
slots:
id: requestBody.id
scope: requestBody.scope
expires_at: requestBody.expires_at
method: generated
generated: '2026-11-25'
- target: $.paths['/access-tokens/{id}'].delete
update:
x-apievangelist-phrasing:
intent: Revoke an access token
effect: destructive
questions:
- How do I revoke an access token I issued?
- Can I invalidate an access token by its ID?
instructions:
- text: Revoke access token {id}.
slots:
id: path.id
- text: Invalidate the token {id}.
slots:
id: path.id
method: generated
generated: '2026-11-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.