Skip to main content
The Workchats public API lets your product send messages into Workchats: a direct message to a person, or a post in a group or channel. Your App gets its own bot user in each company that installs it, reads that company’s people and conversations, and sends, edits and deletes its own messages.

Quickstart

Register an App, install it on the sandbox, and send your first message.

Concepts

Apps, installations, bot users, tokens and scopes.

API reference

Every endpoint, generated from the OpenAPI spec, with a live playground against each version’s own environment.

Errors

The error envelope and every code you may see.
Want an AI assistant to work in Workchats as you, not as a bot? See the Workchats MCP server.

How it works

  1. Octogle registers your App once: a client_id, client_secret, and a signing secret for callbacks.
  2. A company admin approves your App through an OAuth consent screen and picks which groups and channels it can post to.
  3. Your App gets a bot token scoped to that one company, and reads its people and conversations to figure out where to send messages.
  4. Your App sends, edits and deletes its own messages with POST /v1/messages, PATCH /v1/messages/{id} and DELETE /v1/messages/{id}.

What’s live today

  • OAuth install, token exchange, and revoke.
  • Listing users and conversations.
  • Reading a conversation’s message history and the files attached to it, scoped to what your bot can see.
  • Sending, editing and deleting messages, with idempotent sends.
  • Mentions in sent text, <@usr_…> for one person and <!channel> for everyone, with mention-priority push. See Mention people.
  • Signed callbacks, one flat type each: app.uninstalled, user.*, conversation.*, app.added_to_conversation, app.removed_from_conversation, and interaction when someone clicks an action button on your bot’s message. Buttons are clickable on Web and Desktop; Mobile shows your message’s text for now. See Blocks and Callbacks.
Everything below is written for what’s live now, with upcoming work marked where it appears.
The API is versioned at /v1. After the one-time correction it changes only additively. See Versioning and the Changelog.

Where to start

  • Get a group. Call GET /v1/conversations, or GET /v1/conversations/{grp_id}. See Find a group or channel.
  • Know who gets a push. Read Notifications. A DM reaches a person at any hour. A group or channel post reaches members only during their working hours. The default is 09:00 to 17:00, Monday to Friday, so a weekend group post pushes nobody.