Skip to main content
GET
/
api
/
v1
/
slack
/
config
Get Slack configuration
curl --request GET \
  --url http://localhost:3001/api/v1/slack/config \
  --cookie nut-session=
{
  "success": true,
  "data": {
    "enabled": true,
    "channelId": "C0123456789",
    "channelName": "#coconut-notifications",
    "siteUrl": "https://my-coconut.example.com",
    "notifications": {
      "proposals": {
        "created": true,
        "statusChange": true
      },
      "jobs": {
        "completed": true,
        "failed": true
      },
      "git": {
        "push": true,
        "merge": true
      }
    },
    "hasBotToken": true,
    "hasSigningSecret": true
  }
}

Authorizations

nut-session
string
cookie
required

Session cookie authentication

Response

Slack configuration

success
boolean
required
data
object

Slack configuration with tokens masked for display