Slack
Bearer authentication
Slack notification channel
Bad request.
Unauthorized
Forbidden
The specified resource was not found
The specified resource already exists
unexpected error
unexpected error
unexpected error
GET /api/v1/slack HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"config": {
"apiToken": "<your_api_token>"
}
}Bearer authentication
Slack notification channel patched
PATCH /api/v1/slack HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 61
{
"config": {
"recipients": [
"text"
],
"directNotifications": true
}
}Slack notification channel patched
{
"config": {
"apiToken": "<your_api_token>"
}
}Bearer authentication
Slack Notifications state
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
unexpected error
GET /api/v1/slack/state HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"enabled": true
}Bearer authentication
Slack Notifications state
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
unexpected error
PATCH /api/v1/slack/state HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 16
{
"enabled": true
}{
"enabled": true
}Bearer authentication
The access token required for creating slack app
Created Slack app response
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
unexpected error
POST /api/v1/slack/app HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 37
{
"accessToken": "<your_access_token>"
}{
"slackAppUrl": "https://api.slack.com/apps/A089PHD5S0Q"
}Bearer authentication
Deleted Slack app
No content
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
unexpected error
DELETE /api/v1/slack/app HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Bearer authentication
Slack OAuth redirect URL
https://slack.com/oauth/v2/authorize?...Bad request.
Unauthorized
unexpected error
POST /api/v1/slack/workspace HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"redirectUrl": "https://slack.com/oauth/v2/authorize?..."
}Bearer authentication
Disconnected Slack workspace
No content
Bad request.
Unauthorized
unexpected error
DELETE /api/v1/slack/workspace HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Bearer authentication
[]Slack Channel validity
Bad request.
Unauthorized
Forbidden
The specified resource was not found
The specified resource already exists
unexpected error
unexpected error
unexpected error
POST /api/v1/slack/validate HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 31
{
"apiToken": "<your_api_token>"
}{
"status": false,
"message": "smtp server validation failed"
}Bearer authentication
The access token required for creating slack app
Created Slack app response
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
unexpected error
POST /api/v1/notification-channels/slack/create-app HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 37
{
"accessToken": "<your_access_token>"
}{
"slackAppUrl": "https://api.slack.com/apps/A089PHD5S0Q"
}Last updated