Workchats API

Workchats API as documented publicly. Contract generated from the documentation by API Evangelist (2026-11-29); not the provider's own document.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 11

POST /oauth/revoke Revoke a bot token #
POST /oauth/token Exchange an authorization code for a bot token #
GET /v1/auth/test Returned by GET /v1/auth/test , which needs no scope. #
GET /v1/conversations List conversations #
GET /v1/conversations/{conversationId}/files/{id} Get a file #
GET /v1/conversations/{conversationId}/messages List a conversation's messages #
GET /v1/conversations/{id} Get a conversation #
POST /v1/messages Send a message #
PATCH /v1/messages/{id} Edit a message #
GET /v1/users List users #
GET /v1/users/{id} Get a user #

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/workchats-com:workchats-com-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

workchats-com-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Workchats API
  version: '2026-11-29'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-29: 11 operation(s) read from 8 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Workchats has published no machine-readable contract that the
    pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 0
    documentation: 11
    pages-with-code: 0
    pages-read: 8
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-29'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://developers.workchats.com/reference/scopes
  - https://developers.workchats.com/reference/objects
  - https://developers.workchats.com/reference/overview
  - https://developers.workchats.com/reference/callbacks
  - https://developers.workchats.com/reference/scopes.md
  - https://developers.workchats.com/reference/objects.md
  - https://developers.workchats.com/reference/overview.md
  - https://developers.workchats.com/reference/callbacks.md
servers:
- url: https://public-api.workchats.com
paths:
  /oauth/revoke:
    post:
      operationId: post_oauth_revoke
      tags:
      - Oauth
      summary: Revoke a bot token
      description: POST /oauth/revoke authenticate with your App’s client_id / client_secret and returns an OAuth form according to RFC 6749 §5.2.
      x-source: https://developers.workchats.com/reference/overview
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostOauthRevokeResponse'
      x-evidence:
        kind: documentation
  /oauth/token:
    post:
      operationId: post_oauth_token
      tags:
      - Oauth
      summary: Exchange an authorization code for a bot token
      description: POST /oauth/token authenticate with your App’s client_id / client_secret and returns an OAuth form according to RFC 6749 §5.2.
      x-source: https://developers.workchats.com/reference/overview
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostOauthTokenResponse'
      x-evidence:
        kind: documentation
  /v1/auth/test:
    get:
      operationId: get_v1_auth_test
      tags:
      - Auth
      summary: Returned by GET /v1/auth/test , which needs no scope.
      x-source: https://developers.workchats.com/reference/objects
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1AuthTestResponse'
      x-evidence:
        kind: documentation
  /v1/conversations:
    get:
      operationId: get_v1_conversations
      tags:
      - Conversations
      summary: List conversations
      x-source: https://developers.workchats.com/reference/scopes
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1ConversationsResponse'
      x-evidence:
        kind: documentation
  /v1/conversations/{conversationId}/files/{id}:
    get:
      operationId: get_v1_conversations_conversationId_files_id
      tags:
      - Conversations
      summary: Get a file
      x-source: https://developers.workchats.com/reference/scopes
      parameters:
      - name: conversationId
        in: path
        required: true
        schema:
          type: string
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1ConversationsConversationidFilesIdResponse'
      x-evidence:
        kind: documentation
  /v1/conversations/{conversationId}/messages:
    get:
      operationId: get_v1_conversations_conversationId_messages
      tags:
      - Conversations
      summary: List a conversation's messages
      x-source: https://developers.workchats.com/reference/scopes
      parameters:
      - name: conversationId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1ConversationsConversationidMessagesResponse'
      x-evidence:
        kind: documentation
  /v1/conversations/{id}:
    get:
      operationId: get_v1_conversations_id
      tags:
      - Conversations
      summary: Get a conversation
      x-source: https://developers.workchats.com/reference/scopes
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1ConversationsIdResponse'
      x-evidence:
        kind: documentation
  /v1/messages:
    post:
      operationId: post_v1_messages
      tags:
      - Messages
      summary: Send a message
      x-source: https://developers.workchats.com/reference/scopes
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1MessagesRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostV1MessagesResponse'
      x-evidence:
        kind: documentation
  /v1/messages/{id}:
    patch:
      operationId: patch_v1_messages_id
      tags:
      - Messages
      summary: Edit a message
      x-source: https://developers.workchats.com/reference/scopes
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchV1MessagesIdRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PatchV1MessagesIdResponse'
      x-evidence:
        kind: documentation
  /v1/users:
    get:
      operationId: get_v1_users
      tags:
      - Users
      summary: List users
      x-source: https://developers.workchats.com/reference/scopes
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1UsersResponse'
      x-evidence:
        kind: documentation
  /v1/users/{id}:
    get:
      operationId: get_v1_users_id
      tags:
      - Users
      summary: Get a user
      x-source: https://developers.workchats.com/reference/scopes
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1UsersIdResponse'
      x-evidence:
        kind: documentation
components:
  schemas:
    PostOauthRevokeResponse:
      type: object
      properties:
        ok:
          type: boolean
          description: Indicates success
        error:
          type: object
          description: Error object when ok is false
        request_id:
          type: string
          description: Request identifier
    PostOauthTokenResponse:
      type: object
      properties:
        ok:
          type: boolean
          description: Indicates success
        error:
          type: object
          description: Error object when ok is false
        request_id:
          type: string
          description: Request identifier
    GetV1AuthTestResponse:
      type: object
      properties:
        ok:
          type: boolean
          description: Always true
        workspace:
          type: object
          description: The company the token belongs to
        workspace.id:
          type: string
          description: Workspace ID
        workspace.name:
          type: string
          description: Workspace name
        workspace.domain:
          type: string
          description: Workspace domain
        bot_user_id:
          type: string
          description: Your bot’s user id, usr_ prefixed
        app_id:
          type: string
          description: Your App’s client_id
        scopes:
          type: array
          description: The scopes the token holds
    GetV1ConversationsResponse:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        type:
          type: string
          description: group or named channel
    GetV1ConversationsConversationidFilesIdResponse:
      type: object
      properties:
        id:
          type: string
        filename:
          type: string
        download_url:
          type: string
        size:
          type: integer
    GetV1ConversationsConversationidMessagesResponse:
      type: object
      properties:
        id:
          type: string
        user_id:
          type: string
        text:
          type: string
        timestamp:
          type: string
    GetV1ConversationsIdResponse:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        type:
          type: string
          description: group or named channel
    PostV1MessagesRequest:
      type: object
      properties:
        conversation_id:
          type: string
        text:
          type: string
      required:
      - conversation_id
      - text
    PostV1MessagesResponse:
      type: object
      properties:
        id:
          type: string
        conversation_id:
          type: string
        text:
          type: string
        timestamp:
          type: string
    PatchV1MessagesIdRequest:
      type: object
      properties:
        text:
          type: string
      required:
      - text
    PatchV1MessagesIdResponse:
      type: object
      properties:
        id:
          type: string
        text:
          type: string
        timestamp:
          type: string
    GetV1UsersResponse:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        display name:
          type: string
        avatar:
          type: string
        title:
          type: string
        timezone:
          type: string
        is_active:
          type: boolean
        is_bot:
          type: boolean
        is_admin:
          type: boolean
        is_external:
          type: boolean
    GetV1UsersIdResponse:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        display name:
          type: string
        avatar:
          type: string
        title:
          type: string
        timezone:
          type: string
        is_active:
          type: boolean
        is_bot:
          type: boolean
        is_admin:
          type: boolean
        is_external:
          type: boolean
  securitySchemes:
    OAuth2:
      type: http
      scheme: bearer
      x-source: https://developers.workchats.com/guides/oauth-install.md
tags:
- name: Auth
- name: Conversations
- name: Messages
- name: Oauth
- name: Users
security:
- OAuth2: []