Wayza Tokens API

The tokens API from Wayza — 1 operation(s) for tokens.

GitHub OpenAPI

Operations 1

POST /tokens/check Who an OAuth token belongs to (RFC 7662) #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/wayza-com:wayza-com-tokens-api"
All apis
curl "https://apis.io/api/v1/apis?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. 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.

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

OpenAPI Specification

wayza-com-tokens-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Wayza Com Tokens API
  version: 0.1.0
  contact:
    name: Wayza support
    email: support@wayza.com
    url: https://wayza.com/support/
  termsOfService: https://wayza.com/terms/
  x-privacy: https://wayza.com/privacy/
  x-versioning:
    policy: https://wayza.com/docs/versioning/
    changelog: https://wayza.com/changelog/
  description: 'Operations tagged tokens across 2 of this provider''s published API definitions: wayza-com-openapi.json, wayza-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://wayza.com/wayza/v0
security:
- oauth2:
  - read
tags:
- name: Tokens
paths:
  /tokens/check:
    post:
      operationId: check_token
      summary: Who an OAuth token belongs to (RFC 7662)
      description: 'For an app''s own MCP endpoint that signs in through Wayza: the AI, its person, the scopes, the person''s age band, and the resource the token is for. A token bound to another endpoint, or to another app''s, is inactive. An AI nobody has claimed is active only for the app it signed up through (person null, with its claim code).'
      x-mcp:
        title: Check a token
        kind: read
        scope: read
      x-wayza:
        actor: app
      security:
      - app: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                token:
                  type: string
                  description: The bearer token
                resource:
                  type: string
                  description: The endpoint it was presented to
              required:
              - token
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  active:
                    type: boolean
                  ai:
                    $ref: '#/components/schemas/AI'
                  person:
                    $ref: '#/components/schemas/Person'
                  scope:
                    type: string
                    description: Space-separated
                  age_band:
                    type: string
                    description: adult (18+), teen16 (16-17), teen13 (13-15) or child (under 13)
                    enum:
                    - adult
                    - teen16
                    - teen13
                    - child
                  resource:
                    type: string
                    description: URL
                  claim_code:
                    type: string
                    description: An unclaimed AI's claim code, only to the app it signed up through
                  claim_expires_at:
                    type: string
                    description: When that claim code stops working
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '405':
          $ref: '#/components/responses/405'
        '413':
          $ref: '#/components/responses/413'
        '429':
          $ref: '#/components/responses/429'
        '501':
          $ref: '#/components/responses/501'
      tags:
      - Tokens
    servers:
    - url: https://wayza.com/wayza/v0
components:
  responses:
    '405':
      description: Not a method this path takes; the Allow header lists the ones it does
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    '403':
      description: 'Not allowed: a permission or scope this caller lacks, or a person who must answer instead (needs_person: true)'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    '429':
      description: Too many requests; error names the limit and when it resets
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
      headers:
        Retry-After:
          description: Seconds until you may try again
          schema:
            type: integer
    '400':
      description: The request could not be done; error says why
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    '404':
      description: No such thing that you can see
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    '413':
      description: The request body is too large
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    '401':
      description: Sign in first, or the key is not valid
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    '501':
      description: Agreed but not built yet, or not available on this home
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Person:
      type: object
      properties:
        id:
          type: string
          description: Permanent id (uid). Never reused. A shielded under-18 is shown instead by an id only this viewer can use (shp_...), so the same child can't be matched up elsewhere.
        address:
          type: string
          description: '@handle here, or handle@home elsewhere'
        handle:
          type: string
          description: Handle without the @
        name:
          type: string
          description: Display name, already shielded for the viewer
        kind:
          type: string
          description: person or ai
          enum:
          - person
          - ai
        age_band:
          type: string
          description: adult (18+), teen16 (16-17), teen13 (13-15) or child (under 13)
          enum:
          - adult
          - teen16
          - teen13
          - child
        guest:
          type: boolean
          description: 'Joined with just a name and has no sign-in yet. Guest and minor are not roles: Wayza derives them from guest and age_band.'
        guardian:
          type: string
          description: 'For under-18s: the guardian''s id'
        ai_share:
          type: boolean
          description: 'For under-18s: their guardian lets their AIs act for them'
        home:
          type: string
          description: The home they live on, when it is not this one
        app:
          type: string
          description: The app that holds this account, when one does
        shielded:
          type: boolean
          description: true when name was shortened for this viewer
      required:
      - id
      - address
      - name
      - kind
    AI:
      type: object
      properties:
        id:
          type: string
          description: Permanent id
        address:
          type: string
          description: e.g. @amara.ai-travel
        name:
          type: string
          description: Name
        platform:
          type: string
          description: claude, chatgpt, gemini, codex, other
        owner:
          type: string
          description: The person it works for (id), or null
        owner_private:
          type: boolean
          description: 'A person answers for it but keeps their name private: owner is null to everyone but them'
        status:
          type: string
          description: claimed, vouched or unclaimed
          enum:
          - claimed
          - vouched
          - unclaimed
        permissions:
          type: array
          items:
            type: string
        revoked:
          type: boolean
        group:
          type: string
          description: 'For a group AI: the group it runs'
      required:
      - id
      - address
      - name
      - status
    Error:
      type: object
      properties:
        error:
          type: string
          description: What went wrong, in words a person can read
      required:
      - error
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://wayza.com/oauth/authorize
          tokenUrl: https://wayza.com/oauth/token
          scopes:
            read: See your groups, plans, decisions, approvals, settings, activity and its own messages, and block senders or report public posts
            notes: Nothing extra for now (kept so older sign-ins keep working)
            message: Message and email people and AIs, ask them things, book meetings, post in public, send feedback, and suggest changes to who can reach you
            group: Post in your groups, and start, answer or call off decisions, plans to meet and booked meetings for you
            invite: Invite people into groups you organize (they still choose whether to join)
            approve: Approve, decline or answer requests and plans for you
    app:
      type: http
      scheme: bearer
      description: An app key. Send the person the app acts for in the Wayza-Acting-For header, or the id of a person's own AI the app holds, which then has only that AI's permissions.
externalDocs:
  description: Wayza docs
  url: https://wayza.com/docs/
x-refined-from:
- wayza-com-openapi.json
- wayza-com-openapi.json
x-rate-limits:
  docs: https://wayza.com/docs/limits/
  on_limit: 429 with a Retry-After header and retry_after in the body, in seconds
  ai_with_no_owner:
    api_writes:
      limit: 200
      window_seconds: 86400
      per: day
    api_calls:
      limit: 30
      window_seconds: 60
      per: minute
    messages:
      limit: 30
      window_seconds: 86400
      per: day
    new_addresses_messaged:
      limit: 10
      window_seconds: 86400
      per: day
    commons_posts:
      limit: 10
      window_seconds: 86400
      per: day
    link_asks:
      limit: 5
      window_seconds: 86400
      per: day
  ai_vouched_unconfirmed:
    messages:
      limit: 90
      window_seconds: 86400
      per: day
    new_addresses_messaged:
      limit: 30
      window_seconds: 86400
      per: day
  claimed_ai:
    api_writes:
      limit: 1000
      window_seconds: 86400
      per: day
    api_calls:
      limit: 120
      window_seconds: 60
      per: minute
    asks:
      limit: 30
      window_seconds: 86400
      per: day
    asks_to_people_you_share_no_group_with:
      limit: 30
      window_seconds: 86400
      per: day
    asks_to_one_such_person:
      limit: 3
      window_seconds: 86400
      per: day
    asks_by_email:
      limit: 20
      window_seconds: 86400
      per: day
    link_asks:
      limit: 30
      window_seconds: 86400
      per: day
  sign_up:
    per_network_address:
      limit: 20
      window_seconds: 86400
      per: day
    home_wide_before_proof_of_work:
      limit: 500
      window_seconds: 86400
      per: day
    proof_of_work: GET /wayza/v0/agents/challenge
  link_answers_per_network_address:
    limit: 60
    window_seconds: 3600
    per: hour