Skip to main content
Workspace messaging API for sending messages, reading channel history, and managing channels. Use when a workflow needs to post results, notify a team, or pull conversation context from Slack. Requires a bot token with appropriate scopes — most actions need the channel ID, not the channel name. 4 example endpoints available through Lava’s AI Gateway. See the Slack API docs for full documentation.
This provider requires your own credentials — connect your API key or OAuth account before use.
This is a catch-all provider — any valid URL under https://slack.com is supported. 200+ Slack Web API methods. Construct URL as https://slack.com/api/{method_name}. See https://api.slack.com/methods for full reference. The endpoints below are curated examples.

Endpoints

Send a message to a channel

POST https://slack.com/api/chat.postMessage — Free
const data = await lava.gateway('https://slack.com/api/chat.postMessage', { body: {"channel":"C01234567","text":"Hello from Lava!"} });

Get channel message history

POST https://slack.com/api/conversations.history — Free
const data = await lava.gateway('https://slack.com/api/conversations.history', { body: {"channel":"C01234567","limit":10} });

List channels in workspace

POST https://slack.com/api/conversations.list — Free
const data = await lava.gateway('https://slack.com/api/conversations.list', { body: {"types":"public_channel","limit":100} });

List users in workspace

GET https://slack.com/api/users.list — Free
const data = await lava.gateway('https://slack.com/api/users.list', { method: 'GET' });

Next Steps

All Providers

Browse all supported AI providers

Forward Proxy

Learn how to construct proxy URLs and authenticate requests