---
title: "Confirm a USER link token (user must be authenticated)"
method: POST
path: "/api/platform-linking/user-tokens/{token}/confirm"
tags: ["platform-linking"]
---

# Confirm a USER link token (user must be authenticated)

`POST /api/platform-linking/user-tokens/{token}/confirm`

## Path parameters

- `token` string, required

## Request body

- ConfirmLinkRequest — Optional confirm payload. ``telegram_auth`` carries the signed identity Telegram appends when the user reached this page via a login_url button — when present it must verify, and the link token must belong to that same Telegram user.
  - `telegram_auth` object, nullable

## Response `200`

Successful Response

- ConfirmUserLinkResponse
  - `success` boolean, required
  - `link_type` 'SERVER' | 'USER'
  - `platform` string, required
  - `platform_user_id` string, required

## Other responses

- `401` — Authentication required
- `422` — Validation Error

---

[API](https://skmtc.net/significant-gravitas/apis/autogpt-agent-server.md) · [All operations](https://skmtc.net/significant-gravitas/apis/autogpt-agent-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/significant-gravitas/autogpt-agent-server/versions/382041c7ecb2/schema)
