Get a Discord profile

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://docs.usehearsay.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "integrations MCP server": {
    "url": "https://docs.usehearsay.com/mcp"
  }
}

Close
GET /discord/{caseId}/profile/{discordId}

Returns one Discord profile linked to the case; returns 404 if it is archived or not linked. On a case shared with opposing counsel, a profile the caller may not see returns 404.

Path parameters

  • caseId string Required
  • discordId string Required

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • data object Required
      Hide data attributes Show data attributes object
      • createdAt string(date-time) Required
      • updatedAt string(date-time) Required
      • id string Required
      • discordUserId string Required
      • username string | null Required
      • globalName string | null Required
      • discriminator number | null Required
      • email string | null Required
      • phone string | null Required
      • avatar object | null Required

        Not loaded by any route, so always null.

      • verified boolean Required
      • flags array[string] Required
      • servers array[object] Required
      • adsProfile object | null Required
      • accountData object | null Required
      • settings object | null Required
      • metadata object | null Required
      • deletedAt string(date-time) | null Required
      • deletedBy object | null Required
      • ocSharedStatus string | null

        Opposing-council only: whether this provider has been shared with the OL. null for OL/OG callers — same convention as every other item listing. Provider-level: every item under it shares this status, since approval here is all-or-nothing.

        Values are shared, pending, or not_gated.

    • statusCode number Required
    • timestamp string(date-time) Required
GET /discord/{caseId}/profile/{discordId}
curl \
 --request GET 'http://api.example.com/discord/{caseId}/profile/{discordId}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": {
    "createdAt": "2026-01-15T14:30:00.000Z",
    "updatedAt": "2026-01-15T14:30:00.000Z",
    "id": "507f1f77bcf86cd799439011",
    "discordUserId": "1012345678901234567",
    "username": "janedoe",
    "globalName": "Jane Doe",
    "discriminator": 0,
    "email": "jane.doe@example.com",
    "phone": "+15555550100",
    "avatar": {},
    "verified": true,
    "flags": [
      "string"
    ],
    "servers": [
      {
        "name": "Example Server",
        "serverId": "1023456789012345678"
      }
    ],
    "adsProfile": {
      "age": "25-34",
      "gender": "female"
    },
    "accountData": {
      "discord_store": {
        "orders": []
      }
    },
    "settings": {
      "locale": "en-US",
      "theme": "dark"
    },
    "metadata": {
      "avatar_hash": null,
      "has_mobile": true,
      "premium_until": null
    },
    "deletedAt": "2026-05-04T09:42:00Z",
    "deletedBy": {},
    "ocSharedStatus": "shared"
  },
  "statusCode": 200,
  "timestamp": "2026-01-15T10:15:00.000Z"
}