LoguDocs
Open Logu

Delivery · getSlack

Slack status

GET /v1/slack

Whether this server has a Slack app, and whether the member's Slack DM is connected (and in which Slack workspace).

Who may call it
any signed-in human
Server
https://api.logu.dev

Example#

curl -s "https://api.logu.dev/v1/slack" \
  -H "Authorization: Bearer $LOGU_SESSION_TOKEN"

Responses#

200

The member's Slack status.

{
  "available": true,
  "connected": true,
  "team": "Acme"
}
Response fields
FieldTypeRequiredNotes
availablebooleanrequired
connectedbooleanrequired
teamstring | nullrequired

Errors#

Every error is {"error":{"code","message","hint","docUrl","requestId"}}: branch on code. See Errors.

StatusCodeMeaning
401unauthorizedNo credentials, or the API key or session is invalid or revoked.
403forbiddenThe caller is authenticated but may not do this (wrong role, or an API key on a human-only endpoint).
500internal_errorSomething went wrong on Logu's side.