---
title: "Enable Slack Presence"
method: POST
path: "/api/agents/{agent_id}/slack-presence/enable"
tags: ["slack-presence"]
---

# Enable Slack Presence

`POST /api/agents/{agent_id}/slack-presence/enable`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/agents/{agent_id}/slack-presence/enable`
- Auth: none declared

Turn the switch on: resume an installed bot, or create and wire its Slack app.

Answers ``state: needs_token`` when no configuration token is saved for
the workspace; a Slack failure answers ``state: failed`` with
``last_error`` rather than an HTTP error, so the switch can show it.

## Path parameters

- `agent_id` string, uuid, required

## Headers

- `x-impersonate-identity-id` string, nullable

## Request body

- SlackEnableBody
  - `team_id` string, nullable

## Response `200`

Successful Response

- SlackPresenceStatus
  - `state` 'off' | 'needs_token' | 'provisioning' | 'needs_install' | 'active' | 'paused' | 'failed', required
  - `provisioning_status` string, nullable
  - `enabled` boolean
  - `app_id` string, nullable
  - `team_id` string, nullable
  - `team_name` string, nullable
  - `dm_enabled` boolean
  - `permissions_current` boolean
  - `last_error` string, nullable
  - `install_url` string, nullable
  - `app_settings_url` string, nullable
  - `avatar_download_url` string, required
  - `workspaces` SlackWorkspace[]
    - `team_id` string, required
  - `needs_config_token` boolean
  - `subconscious` boolean
  - `owner_slack_accounts` string[]
  - `app_needs_manual_delete` boolean

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thinqos/apis/thinqos-api.md) · [All operations](https://skmtc.dev/thinqos/apis/thinqos-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thinqos/apis/thinqos-api/revisions/5387b4ded614?raw)
