---
title: "Save Slack Config Token"
method: POST
path: "/api/agents/{agent_id}/slack-presence/config-token"
tags: ["slack-presence"]
---

# Save Slack Config Token

`POST /api/agents/{agent_id}/slack-presence/config-token`

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

Save a pasted Slack configuration refresh token, then continue setup.

## Path parameters

- `agent_id` string, uuid, required

## Headers

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

## Request body

- SlackConfigTokenBody
  - `token` string, required

## 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/ce2c2ce318b1?raw)
