Khoros Tokens API

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

Operations 2

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

PUT /tokens/appId/{appId} Refresh a bot's JWT · Refresh JWT #
Ask an LLM
“How do I refresh the JWT my bot uses?”
“Can I renew the bot token before it expires?”
Tell an agent
Refresh the JWT for app {appId}.
Renew bot app {appId}'s auth token.
DELETE /tokens/appId/{appId} Invalidate a bot's JWT · Invalidate JWT #
Ask an LLM
“How do I revoke the JWT for a bot app?”
“Can I invalidate a compromised bot token?”
Tell an agent destructive · confirm first
Invalidate the JWT for app {appId}.
Revoke bot app {appId}'s token.

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/khoros-ai:khoros-ai-tokens-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

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

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

khoros-ai-tokens-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: bot-api-v3 Tokens API
  version: '1.1'
servers:
- url: https://api.app.lithium.com/bots/v3
security:
- {}
tags:
- name: Tokens
paths:
  /tokens/appId/{appId}:
    put:
      summary: Refresh JWT
      description: Refresh the JWT used to authenticate calls to the Bot v3 API
      operationId: tokensappid-put
      parameters:
      - name: appId
        in: path
        description: The `appId` of the bot defined in the bot registration
        schema:
          type: string
        required: true
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: "{\n  \"data\": {\n    \"token\": \"[NEW TOKEN]\",\n    \"expiresAtMillis\": 1560276824632\n  },\n  \"requestId\": \"bcefbedf-45bb-11e9-b37c-1b28a88f8a21\"\n}\n"
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      token:
                        type: string
                        example: '[NEW TOKEN]'
                      expiresAtMillis:
                        type: integer
                        example: 1560276824632
                        default: 0
                  requestId:
                    type: string
                    example: bcefbedf-45bb-11e9-b37c-1b28a88f8a21
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: "{\n  \"error\": {\n    \"message\": \"Unauthorized\",\n    \"requestId\": \"d3cf183a-4f30-11e9-bc72-cd9609519b63\"\n  }\n}"
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                        example: Unauthorized
                      requestId:
                        type: string
                        example: d3cf183a-4f30-11e9-bc72-cd9609519b63
      deprecated: false
      security: []
      x-readme:
        code-samples:
        - language: curl
          code: "curl -X PUT \\\n  https://api.app.lithium.com/bots/v3/tokens/appId/appId \\\n  -H \"Content-type: application/json; charset=utf-8\" \\\n  -H \"Authorization: Bearer [TOKEN TO BE REFRESHED]\""
        samples-languages:
        - curl
      tags:
      - Tokens
    delete:
      summary: Invalidate JWT
      description: Invalidate the JWT used to authenticate calls to the Bot v3 API
      operationId: tokensappid-delete
      parameters:
      - name: appId
        in: path
        description: The `appId` of the bot as defined in the bot registration
        schema:
          type: string
        required: true
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
      deprecated: false
      security: []
      x-readme:
        code-samples:
        - language: curl
          code: "curl -X DELETE \\\n  https://api.app.lithium.com/bots/v3/tokens/appId/appID \\\n  -H \"Authorization: Bearer [TOKEN]\"\n"
        samples-languages:
        - curl
      tags:
      - Tokens
x-readme:
  headers:
  - key: Authorization
    value: Bearer [TOKEN]
  - key: Content-type
    value: application/json; charset=utf-8
  explorer-enabled: false
  proxy-enabled: true
x-readme-fauxas: true