Get a user
Path parameters
idstringRequired
The id of the user.
Header parameters
Brand-URLstringRequiredExample:
The brand URL of the request. This is used to identify the brand.
YOUR_BRAND_URL
Auth-KeystringRequiredExample:
This is used to authenticate the request. If the request is not authenticated, the server will return a 401 Unauthorized response.
YOUR_AUTH_KEY
Responses
200
The request was successful.
application/json
401
The user is not authorized to access the requested resource. The request is missing the required Auth-Key header.
application/json
404
The user was not found in the database.
application/json
429
The user has exceeded the rate limit.
application/json
get
GET /api/v1/users/{id} HTTP/1.1
Host: protocol.jframework.io
Brand-URL: text
Auth-Key: text
Accept: */*
{
"success": true,
"statusCode": 200,
"message": "The request was successful.",
"data": {
"id": "sApKpllz4sAplsmzha",
"brandId": "xZrwkBM58VN",
"parentUser": {
"id": "sApKpllz4sAplsmzha",
"code": "PZBAAE",
"avatar": "https://www.jframework.io/admin.jpg",
"packageId": "yDpX0wAbpGRqjv3l",
"packageCode": "STANDARD",
"emailAddress": "[email protected]",
"nickName": "Admin",
"roles": [
"Admin"
]
},
"code": "AABA24461C0E194BEF3E",
"username": "john.doe",
"firstName": "John",
"lastName": "Doe",
"nickName": null,
"avatar": "https://www.johndoe.com/avatar.jpg",
"emailAddress": "[email protected]",
"phoneNumber": "+01234567890",
"website": "https://www.johndoe.com",
"bio": null,
"type": "EndUser",
"isEmailAddressVerified": false,
"isUserVerified": false,
"riskMark": 50,
"roles": [
{
"id": "sApKpllz4sAplsmzha",
"parentBrandId": "xZrwkBM58VN",
"guid": "e6f463f4-4e77-46bd-9252-30670c27a251",
"code": "SUPER_ADMIN",
"name": "Super Admin",
"description": "Super Admin",
"tags": "#Admin",
"type": "BuiltIn",
"permissions": [
"USER.CREATE"
]
}
],
"referralCode": "AABAAE",
"testMode": false,
"tags": null,
"status": "Active",
"isSystem": false,
"package": {
"id": "sApKpllz4sAplsmzha",
"code": "CODE",
"name": "NAME",
"imageURL": "IMAGE",
"patternAvatarURL": "https://www.example.com/pattern.jpg",
"styles": "{\"color\": \"red\"}",
"description": "DESCRIPTION",
"tags": "TAGS",
"isFree": true,
"zOrder": 1,
"features": [
{
"title": "Feature Title",
"unit": "Unit",
"quantity": 10,
"isUnlimited": false,
"id": "sApKpllz4sAplsmzha",
"parentBrandId": "Brand_ID",
"eventId": "Event_ID",
"type": "Function",
"code": "Code",
"name": "Feature Name",
"image": "https://www.example.com/image.jpg",
"styles": "{\"color\": \"red\"}",
"description": "Feature Description",
"tags": "#Tag1, #Tag2",
"zOrder": 1,
"status": "Active"
}
],
"prices": [
{
"id": "sApKpllz4sAplsmzha",
"code": "Code",
"name": "Name",
"amount": 10,
"currency": "USD",
"description": "Description",
"checkoutLink": "CheckoutLink",
"tags": "Tags",
"packageName": "PackageName",
"packageId": "PackageId",
"subscriptionName": "SubscriptionName",
"subscriptionTypeId": "SubscriptionTypeId",
"zOrder": 1
}
],
"isDefault": true
},
"packageId": "yDpX0wAbpGRqjv3l",
"languageCode": "vi-VN",
"timeZoneId": "QlzwLjGaKvAvbD5x",
"expiryDate": "2025-07-23T06:56:00.7784318Z",
"themeStyle": "light",
"enableSignInDetection": true,
"isUserIntegration": false,
"createdDate": "2025-06-23T06:56:00.7784324Z"
},
"errors": []
}
Last updated
Was this helpful?