Skip to main content
GET
/
community
/
{communityId}
/
user
/
{userId}
Get Community User
curl --request GET \
  --url https://api.dontdie.com/community/{communityId}/user/{userId} \
  --header 'Authorization: Bearer <token>' \
  --header 'x-dd-client-id: <api-key>'
{
  "id": "<string>",
  "userId": "<string>",
  "communityId": "<string>",
  "createdAt": "<string>",
  "createdBy": "<string>",
  "updatedAt": "<string>",
  "updatedBy": "<string>",
  "isAdmin": true,
  "isModerator": true,
  "isBanned": true,
  "isMuted": true
}

Authorizations

Authorization
string
header
required

Enter your Bearer token in the format: Bearer

x-dd-client-id
string
header
required

Your API client ID for the request

Response

200 - application/json

OK

id
string
required

The ID of the community user

userId
string
required

The ID of the user

communityId
string
required

The ID of the community

createdAt
string
required

The date and time the community user was created

createdBy
string
required

The ID of the user who created the community user

updatedAt
string
required

The date and time the community user was updated

updatedBy
string
required

The ID of the user who updated the community user

isAdmin
boolean

Whether the user is an admin of the community

isModerator
boolean

Whether the user is a moderator of the community

isBanned
boolean

Whether the user is banned from the community

isMuted
boolean

Whether the user is muted from the community