---
title: "Starts the Discord account link flow and returns the OAuth url"
method: POST
path: "/discord/link-start"
tags: ["Authentication"]
---

# Starts the Discord account link flow and returns the OAuth url

`POST /discord/link-start`

## Response `200`

Success

- DiscordLinkStartResponse
  - `url` string — Discord OAuth authorize url the browser should be sent to.

## Other responses

- `400` — Error
- `503` — Discord linking is not configured on this environment

---

[API](https://skmtc.net/ludo/apis/ludo-ai-api.md) · [All operations](https://skmtc.net/ludo/apis/ludo-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ludo/ludo-ai-api/revisions/3af866d68651/schema)
