Python
import requests
url = "https://app.langwatch.ai/api/slack-connections"
headers = {"X-Auth-Token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Auth-Token': '<api-key>'}};
fetch('https://app.langwatch.ai/api/slack-connections', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://app.langwatch.ai/api/slack-connections \
--header 'X-Auth-Token: <api-key>'[
{
"id": "<string>",
"name": "<string>",
"kind": "bot",
"scopeType": "ORGANIZATION",
"scopeId": "<string>",
"scopeName": "<string>",
"slackTeamName": "<string>",
"createdAt": "<string>"
}
]{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}Triggers
List Slack Connections
List the Slack connections this project can deliver through: its own and its organization’s, by name. Never returns a token or webhook URL.
GET
/
api
/
slack-connections
Python
import requests
url = "https://app.langwatch.ai/api/slack-connections"
headers = {"X-Auth-Token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Auth-Token': '<api-key>'}};
fetch('https://app.langwatch.ai/api/slack-connections', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://app.langwatch.ai/api/slack-connections \
--header 'X-Auth-Token: <api-key>'[
{
"id": "<string>",
"name": "<string>",
"kind": "bot",
"scopeType": "ORGANIZATION",
"scopeId": "<string>",
"scopeName": "<string>",
"slackTeamName": "<string>",
"createdAt": "<string>"
}
]{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}Authorizations
Project API key for sending traces and accessing project-scoped resources. Format: sk-lw-... (no underscore). Obtain one by creating a project via the Admin API or the LangWatch UI.
Response
Success
What an automation's slackIntegrationId names to post through this connection.
bot posts as the LangWatch Slack app and needs a slackChannelId on the automation; webhook posts to its incoming webhook's channel.
Available options:
bot, webhook Available options:
ORGANIZATION, PROJECT The Slack workspace a bot connection posts into.
Last modified on September 30, 2026
Was this page helpful?