Channels

Get the Slack installation

Returns the Slack workspace connected to the team, whose ID a slack channel needs. Connecting a workspace happens in the dashboard, under Integrations. Without one the request fails with 404 SLACK_NOT_CONNECTED.

get/slack-installation

Request

  • Base URL
    https://api.spectate.net/v1
  • Auth
    HTTP bearer

Response

The connected Slack workspace.

idstring uuid required

Installation ID, for slack.installation_id of a channel

workspace_idstring required

The workspace's ID in Slack

workspace_namestring nullable required

The workspace's name in Slack

activeboolean required

False once the app was removed from Slack or its token revoked. Channels can't be created until someone reconnects it

created_atstring date-time required

When the workspace was connected

Example response

{
  "workspace_id": "T0123456789",
  "workspace_name": "Acme"
}

Changes

No recorded changes to this operation across all 1 revision of this API.