---
title: "Get Slack connection"
method: GET
path: "/integrations/slack/{account}/connection"
tags: ["slack-connections"]
---

# Get Slack connection

`GET /integrations/slack/{account}/connection`

## Request

- Base URL: `https://example.scalr.io/api/iacp/v3`
- URL: `https://example.scalr.io/api/iacp/v3/integrations/slack/{account}/connection`
- Auth: HTTP bearer

Show details of account's Slack App connection.

## Path parameters

- `account` string, required

## Response `200`

Success.

- SlackConnectionDocument: JSON:API Document. see: https://jsonapi.org/format/#document-structure
  - `data` SlackConnection
    - `attributes` object
      - `slack-workspace-name` string: The name of connected Slack workspace.
    - `id` string
    - `links` object
    - `relationships` object
      - `account` object: The account this connection belongs to.
        - `data` object, nullable, required
          - `id` string, required
          - `type` 'accounts' | '', required
    - `type` 'slack-connections', required
  - `included` object[]
  - `meta` object

## Other responses

- `403`: User unauthorized to perform this action.
- `404`: Account not found or user unauthorized to perform action.
- `4XX`: Client error.
- `5XX`: Server error.

---

[API](https://skmtc.dev/scalr/apis/scalr-iacp-api.md) - [All operations](https://skmtc.dev/scalr/apis/scalr-iacp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/scalr/apis/scalr-iacp-api/revisions/d3e1dc85657a?raw)
