---
title: "Link a platform user to an Xquik account"
method: POST
path: "/bot/platform-links"
tags: ["Bot"]
---

# Link a platform user to an Xquik account

`POST /bot/platform-links`

## Request body

- object
  - `platform` 'telegram', required
  - `platformUserId` string, required

## Response `201`

Platform link created

- object
  - `id` string, required
  - `platform` string, required
  - `platformUserId` string, required
  - `createdAt` string, date-time, required

## Other responses

- `400` — Invalid input
- `401` — Unauthenticated
- `409` — Platform link already exists

---

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