---
title: "Link Provider Init"
method: GET
path: "/cabinet/auth/account/link/{provider}/init"
tags: ["Cabinet Account Linking"]
---

# Link Provider Init

`GET /cabinet/auth/account/link/{provider}/init`

## Request

- The document declares no server URL.
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/docs/cabinet/auth/account/link/:provider/init/get.ts> (a function with typed inputs; its response is checked against the schema)

Start OAuth flow for linking a new provider to the current account.

## Path parameters

- `provider` 'google' | 'yandex' | 'discord' | 'vk', required

## Response `200`

Successful Response

- LinkInitResponse
  - `authorize_url` string, required
  - `state` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api.md) - [All operations](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/revisions/2360876ff9c5?raw)
