---
title: "POST /v3/connections/slack/token"
method: POST
path: "/v3/connections/slack/token"
tags: ["connections"]
---

# POST /v3/connections/slack/token

`POST /v3/connections/slack/token`

Get a valid Slack access token for a connected workspace. Automatically refreshes the token if expired.

## Request body

- object
  - `team_id` string, required — The Slack team/workspace ID (e.g., 'T9TK3CUKW')

## Response `200`

Default Response

- object
  - `access_token` string, required — A valid Slack access token

## Other responses

- `404` — Default Response
- `500` — Default Response

## Changes

- **2026-08-05** `4d8b6d2e6db3` — 1 info
  - removed the non-success response with the status `403`
- **2026-05-14** `eee85d2eafce` — 1 warning
  - the `team_id` request property's maxLength was set to `32`
- **2026-01-15** `788eacc57f25` — 1 info
  - added the non-success response with the status `500`
- **2025-12-29** `8ced33764d35` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/val-town/apis/val-town-api/changes/v3/connections/slack/token/post.md)

---

[API](https://skmtc.dev/val-town/apis/val-town-api.md) · [All operations](https://skmtc.dev/val-town/apis/val-town-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/val-town/val-town-api/revisions/4d8b6d2e6db3/schema)
