curl --request GET \
--url https://{subdomain}.nudj.cx/api/v2/admin/users/{id} \
--header 'x-api-token: <api-key>'{
"id": "<string>",
"username": "<string>",
"points": 123,
"keys": 123,
"xp": {
"total": 1,
"knowledge": 1,
"creativity": 1,
"loyalty": 1,
"influence": 1,
"participation": 1,
"contribution": 1
},
"communityData": [
{
"communityId": "<string>",
"streak": {
"currentStreak": 1,
"lastExtendedAt": "<string>",
"longestStreak": 1
},
"challengesCompleted": 1,
"achievementsCompleted": 1,
"points": 123,
"xp": {
"total": 1,
"knowledge": 1,
"creativity": 1,
"loyalty": 1,
"influence": 1,
"participation": 1,
"contribution": 1
},
"hasAcceptedRules": true
}
],
"createdAt": "<string>",
"roles": [
"<string>"
],
"email": "<string>",
"isAnonymous": true,
"updatedAt": "<string>",
"organisationId": "<string>",
"displayName": "<string>",
"bio": "<string>",
"profilePictureUrl": "<string>",
"emailVerified": "<string>",
"locale": "<string>",
"socialHandles": {
"instagram": "<string>",
"loyaltyCardNumber": "<string>",
"tiktok": "<string>"
},
"fullName": "John Doe",
"parentEmail": "<string>",
"birthDay": 123,
"birthMonth": 123,
"birthYear": 123,
"externalUserId": "<string>"
}Retrieve a user by their ID.
curl --request GET \
--url https://{subdomain}.nudj.cx/api/v2/admin/users/{id} \
--header 'x-api-token: <api-key>'{
"id": "<string>",
"username": "<string>",
"points": 123,
"keys": 123,
"xp": {
"total": 1,
"knowledge": 1,
"creativity": 1,
"loyalty": 1,
"influence": 1,
"participation": 1,
"contribution": 1
},
"communityData": [
{
"communityId": "<string>",
"streak": {
"currentStreak": 1,
"lastExtendedAt": "<string>",
"longestStreak": 1
},
"challengesCompleted": 1,
"achievementsCompleted": 1,
"points": 123,
"xp": {
"total": 1,
"knowledge": 1,
"creativity": 1,
"loyalty": 1,
"influence": 1,
"participation": 1,
"contribution": 1
},
"hasAcceptedRules": true
}
],
"createdAt": "<string>",
"roles": [
"<string>"
],
"email": "<string>",
"isAnonymous": true,
"updatedAt": "<string>",
"organisationId": "<string>",
"displayName": "<string>",
"bio": "<string>",
"profilePictureUrl": "<string>",
"emailVerified": "<string>",
"locale": "<string>",
"socialHandles": {
"instagram": "<string>",
"loyaltyCardNumber": "<string>",
"tiktok": "<string>"
},
"fullName": "John Doe",
"parentEmail": "<string>",
"birthDay": 123,
"birthMonth": 123,
"birthYear": 123,
"externalUserId": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.nudj.cx/llms.txt
Use this file to discover all available pages before exploring further.
The ID of the user to get. This can be the internal ID or the external ID.
Successful response
A user
User XP Breakdown
Show child attributes
Show child attributes
Social media handles and loyalty information for a user
Show child attributes
"John Doe"
Was this page helpful?