Returns one page of Discord profiles linked to the case, excluding archived ones; search by username, global name or email, or filter by extraction code. On a case shared with opposing counsel, profiles the caller may not see are excluded; ocSharedStatus (the profile's sharing status) is filled in for opposing counsel, who can also filter by it, and is null for everyone else.
GET
/discord/{caseId}
curl \
--request GET 'http://api.example.com/discord/{caseId}' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": {
"total": 42,
"page": 1,
"perPage": 20,
"skip": 0,
"limit": 20,
"totalPages": 3,
"nextPage": 2,
"previousPage": 42.0,
"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"
}