---
title: "POST /api/tokens"
method: POST
path: "/api/tokens"
---

# POST /api/tokens

`POST /api/tokens`

Saves tokens at the end of the Contentful Slack App installation process.

## Request body

- object
  - `refreshToken` string — Refresh token received from the initial OAuth response.

## Response `201`

OK

## Other responses

- `404` — Not Found. Thrown when the request validation fails.
- `422` — Unprocessable Entity. Body parameters are missing or invalid

---

[API](https://skmtc.net/contentful-labs/apis/slack-app.md) · [All operations](https://skmtc.net/contentful-labs/apis/slack-app/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/contentful-labs/slack-app/versions/5ebc5efde820/schema)
