Get users

Get users in your system.

get

A subset of users can be returned that match a supported filter expression or search criteria.

Query parameters
RoleIdstringOptional

The role id of the user.

CodestringOptional

The code of the user.

UsernamestringOptional

The username of the user.

UserTypestringOptional

The type of the user.

IsEmailAddressVerifiedbooleanOptional

Filter with is email address verified.

IsUserVerifiedbooleanOptional

Filter with is user verified.

TestModebooleanOptional

The email address of the user.

Statusstring · enumOptional

The status of the user.

Possible values:
IsSystembooleanOptional

Filter with is system user.

FirstNamestringOptional

Th first name of the user.

LastNamestringOptional

The last name of the user.

NickNamestringOptional

The nickname of the user.

AvatarstringOptional

The avatar of the user.

EmailAddressstringOptional

The email address of the user.

PhoneNumberstringOptional

The phone number 1

KeywordsstringOptional

The keywords to search.

PackageIdstringOptional

The package id of the user.

LanguageCodestringOptional

The language code of the user.

TimeZoneIdstringOptional

The time zone id of the user.

TrackingLevelinteger · int32Optional

The tracking level of the user.

ReferralCodestringOptional

The referral code of the user.

SortDataFieldstringOptional

The sort data field of the pagination.

SortOrderstringOptional

The sort order of the pagination.

PageNumberinteger · int32Optional

The page number of the pagination. Default value is 0.

PageSizeinteger · int32Optional

The page size of the pagination. Default value is 200.

Header parameters
Brand-URLstringRequired

The brand URL of the request. This is used to identify the brand.

Example: YOUR_BRAND_URL
Auth-KeystringRequired

This is used to authenticate the request. If the request is not authenticated, the server will return a 401 Unauthorized response.

Example: YOUR_AUTH_KEY
Responses
200
The request was successful.
application/json
get
GET /api/v1/users HTTP/1.1
Host: protocol.jframework.io
Brand-URL: text
Auth-Key: text
Accept: */*
{
  "success": true,
  "statusCode": 200,
  "message": "The request was successful.",
  "data": {
    "items": [
      {
        "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": "9cf58cf6-95aa-4dda-ae2a-fee1f44827fe",
            "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.7927308Z",
        "themeStyle": "light",
        "enableSignInDetection": true,
        "isUserIntegration": false,
        "createdDate": "2025-06-23T06:56:00.7927316Z"
      }
    ],
    "totalItems": 1,
    "pageNumber": 0,
    "pageSize": 10
  },
  "errors": []
}

Gets the users by id list.

get
Query parameters
idsstring[]Optional

The ids to get the users.The maximum number of ids is 100.

Header parameters
Brand-URLstringRequired

The brand URL of the request. This is used to identify the brand.

Example: YOUR_BRAND_URL
Auth-KeystringRequired

This is used to authenticate the request. If the request is not authenticated, the server will return a 401 Unauthorized response.

Example: YOUR_AUTH_KEY
Responses
200
The request was successful.
application/json
get
GET /api/v1/users/by-list-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": {
    "items": [
      {
        "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": "d84bc2b2-f94a-4a11-8e2e-13605ea376a8",
            "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.7941665Z",
        "themeStyle": "light",
        "enableSignInDetection": true,
        "isUserIntegration": false,
        "createdDate": "2025-06-23T06:56:00.7941671Z"
      }
    ],
    "totalItems": 1,
    "pageNumber": 0,
    "pageSize": 10
  },
  "errors": []
}

Last updated

Was this helpful?