Skip to content

Messaging & chat

Slack mock API

Stateful Slack Web API replica: auth, conversations, chat messages, users, reactions and signed Events API callbacks.

At a glance

Operations
174
Stateful operations
22
Stateful resources
5
Webhook events
4
Vendor API version
Web API (slack-api-specs, 2021 snapshot)
Verification
Spec-verified

How it works

Use Slack without calling Salesforce, Inc. (Slack)

Authorization: Bearer xoxb-000000000000-000000000000-MaxoPerfExampleToken

State

Resources that remember

Writes persist per caller, so a create followed by a read returns what you created.

ResourceOperations
Auth1
Conversations12
Chat3
Users3
Reactions3

Webhooks

Events your handlers can receive

Deliveries are signed with the slack scheme, so your verification code runs unchanged.

Coverage

174 operations

22 of them are stateful. The largest groups:

GroupOperations
Other operations152
Conversations12
Chat3
Reactions3
Users3
Auth1

Verification

Spec-verified

Generated operations are checked against the vendor OpenAPI description, which proves shape and routing. Stateful operations and scenario suites prove behaviour. Responses are not yet compared with a live vendor sandbox.

Source and limits

License, source and limits

Each collection holds up to 1 MiB of objects per bot token; writes beyond that are dropped (x-maxoperf-vs-state: capacity). Slack errors are HTTP 200 with {ok:false,error}. Methods accept form-encoded or JSON bodies. Stateful: auth.test, conversations.* (create/list/info/join/invite/kick/archive/unarchive/rename/history/members/replies), chat.postMessage/update/delete, users.list/info/lookupByEmail, reactions.add/remove/get. Read methods are served on GET and writes on POST. Channel, user and message ids that are not shaped like Slack ids are answered by a schema-valid sample instead of an error. A conversations.invite adds up to 3 users per call, and conversations.list ignores the types filter. Every other Web API method is a schema-valid stateless sample. The vendor spec is an archived 2021 snapshot. Events API callbacks go to the Virtual Service webhook setting and are signed with X-Slack-Signature.

MaxoPerf is not affiliated with, endorsed by, or sponsored by Salesforce, Inc. (Slack). Slack is a trademark of its owner.