---
title: "Identity By Discord"
method: GET
path: "/v1/identity/{provider}/by-discord/{user_id}"
tags: ["identity"]
---

# Identity By Discord

`GET /v1/identity/{provider}/by-discord/{user_id}`

## Request

- Base URL: `https://api.monni.fyi` (the document declares no server; this is the origin it was published from)
- URL: `https://api.monni.fyi/v1/identity/{provider}/by-discord/{user_id}`
- Auth: API key in header `X-API-Key`

Accounts a member linked, restricted to ones they linked in the calling guild.

## Path parameters

- `provider` 'roblox' | 'minecraft_java', required
- `user_id` integer, required

## Response `200`

Successful Response

- DiscordIdentity
  - `user_id` string, required
  - `accounts` IdentityAccount[], required
    - `provider` string, required
    - `external_id` string, required
    - `username` string, nullable
    - `verified_at` string, required
    - `trust` string, required

## Other responses

- `401`: Missing or invalid API key.
- `403`: The key lacks the required verification permission, or the guild has no active premium subscription.
- `422`: Validation Error
- `429`: Out of requests. `X-RateLimit-Bucket` says which limit you hit and `Retry-After` how many seconds to wait. This request was not counted against you.

## Changes

- **2026-09-24** `2ec565e413a7`: 3 warning, 1 info
  - the optional response header `X-RateLimit-Limit` removed for the status `200`
  - the optional response header `X-RateLimit-Remaining` removed for the status `200`
  - the optional response header `X-RateLimit-Reset` removed for the status `200`
  - added the media type `application/json` for the response with the status `429`
- **2026-09-16** `83ac8f547df8`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Operation history](https://skmtc.dev/monni/apis/fastapi/changes/v1/identity/:provider/by-discord/:user_id/get.md)

---

[API](https://skmtc.dev/monni/apis/fastapi.md) - [All operations](https://skmtc.dev/monni/apis/fastapi/llms.txt) - [OpenAPI document](https://skmtc.dev/monni/apis/fastapi/revisions/a35aef40d880?raw)
