---
title: "Update Slack Presence"
method: PATCH
path: "/api/agents/{agent_id}/slack-presence"
tags: ["slack-presence"]
---

# Update Slack Presence

`PATCH /api/agents/{agent_id}/slack-presence`

## 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`
- Auth: none declared

The plain switch (``enabled``) and the direct-message toggle.

## Path parameters

- `agent_id` string, uuid, required

## Headers

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

## Request body

- SlackPresencePatch
  - `enabled` boolean, nullable
  - `dm_enabled` boolean, 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)
