GET/users
Gets a list of members. It returns an empty list if the requested page contains no members.
Caution
- The properties you can get differ depending on Member > Member > Manage Items in the LINE WORKS Admin.
OAuth 2.0 authentication.
For more information, see Authentication and Authorization.
user
user.read
directory
directory.read
| Parameter | Type | Description |
|---|---|---|
| count | integer | Number of items to retrieve default : 100 minimum : 1 maximum : 100 example : 100 format : int32 |
| cursor | string | Cursor value example : JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA== |
| domainId | integer | Domain ID example : 10000001 format : int32 |
| searchFilterType | string | Search filter type
Allowed values : VIP |
| orderBy | string | Sort by default : CREATED_TIME Allowed values : NAME, CREATED_TIME |
| sortOrder | string | Sort order default : ASCENDING Allowed values : ASCENDING, DESCENDING |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| users | array (UserResponse) | Member information |
| responseMetaData | object (responseMetaData) | Response metadata |
| Property | Type | Description |
|---|---|---|
| domainId | integer | Domain ID required format : int32 |
| userId | string | Member ID readOnly : true |
| userExternalKey | string | Customer's member external key Some special characters, maxLength : 100 nullable : true |
| isAdministrator | boolean | Indicates whether the member is the domain administrator. readOnly : true |
| isPending | boolean | Indicates whether the member is pending. readOnly : true |
| isSuspended | boolean | Indicates whether the member is suspended. readOnly : true |
| isDeleted | boolean | Indicates whether the member is deleted. readOnly : true |
| isAwaiting | boolean | Indicates whether the member is active. readOnly : true |
| leaveOfAbsence | object (leaveOfAbsence) | readOnly : true |
| suspendedReason | string | Reason for suspension
Allowed values : MASTER, LOGIN_FAIL readOnly : true nullable : true |
| string | Account. It is the same as the member's email address (id@domain for Standard, id@group for Advanced).
required maxLength : 90 | |
| userName | object (userName) | Name information required |
| i18nNames | array (Useri18nName) | List of multilingual names minItems : 0 |
| nickName | string | Nickname. The allowed special characters are ! @ & ( ) - _ + [ ] { } , . / # ' ` ^ ~. maxLength : 100 nullable : true |
| privateEmail | string | Personal email address.
maxLength : 256 nullable : true |
| aliasEmails | array (string) | List of email aliases.
minItems : 0 maxItems : 10 |
| employmentTypeId | string | Employment type ID. Specify this parameter using the Enable employment types API operation.
nullable : true |
| employmentTypeExternalKey | string | Employment type external key maxLength : 100 readOnly : true nullable : true |
| employmentTypeName | string | Employment type name readOnly : true nullable : true |
| userTypeId | string | User type ID. It is available only if
nullable : true |
| userTypeExternalKey | string | User type external key maxLength : 100 readOnly : true nullable : true |
| userTypeName | string | User type name readOnly : true nullable : true |
| userTypeCode | string | User type code. It can include any combination of alphabetic characters (A-Z, a-z), numbers (0-9), or underline symbols (_) and can be up to 50 characters long. It must start with an English letter. maxLength : 50 readOnly : true nullable : true |
| searchable | boolean | Indicates whether to enable auto-complete and search (default: true). default : true |
| organizations | array (UserOrganization) | List of domains (companies) to which the member belongs, including both the primary and secondary positions. minItems : 0 |
| telephone | string | Phone number. Only numbers with the following characters are allowed: - * # + P T ( ) maxLength : 100 pattern : ^(?=.*[0-9])[0-9+\-*#PTpt()\u3000]{0,100} nullable : true |
| cellPhone | string | Mobile phone number. Only numbers with the following characters are allowed: - * # + P T ( ) maxLength : 100 pattern : ^(?=.*[0-9])[0-9+\-*#PTpt()\u3000]{0,100} nullable : true |
| location | string | Office location maxLength : 100 nullable : true |
| task | string | Task maxLength : 100 nullable : true |
| messenger | object (messenger) | Messenger information nullable : true |
| birthdayCalendarType | string | Birthday type.
Allowed values : SOLAR, LUNAR nullable : true |
| birthday | string | Birthday in YYYY-MM-DD format maxLength : 10 nullable : true |
| locale | string | Language code Allowed values : ko_KR, ja_JP, en_US, zh_CN, zh_TW |
| hiredDate | string | Date of hire in YYYY-MM-DD format maxLength : 10 nullable : true |
| timeZone | string | example : Europe/Berlin |
| customFields | array (UserCustomField) |
minItems : 0 maxItems : 50 deprecated : true |
| customProperties | object (customProperties) | Member custom properties. You need to add a member custom property first using the Add member custom properties API operation. |
| relations | array (UserRelation) | List of related contacts minItems : 0 maxItems : 10 |
| activationDate | string | Account activation date (ISO-8601 format, YYYY-MM-DDThh:mm:ssTZD)
maxLength : 25 nullable : true |
| employeeNumber | string | Employee number minLength : 1 maxLength : 20 nullable : true |
| Property | Type | Description |
|---|---|---|
| startTime | string | Start time ISO-8601 nullable : true |
| endTime | string | End time ISO-8601 nullable : true |
| isLeaveOfAbsence | boolean | Indicates whether the member is taking a leave of absence. |
| Property | Type | Description |
|---|---|---|
| lastName | string | Last name. The full name can be up to 80 characters long. Either lastName or firstName must be specified. The allowed special characters are ! @ & ( ) - _ + [ ] { } , . / # ' ` ^ ~. maxLength : 80 nullable : true |
| firstName | string | First name. The full name can be up to 80 characters long. Either lastName or firstName must be specified. The allowed special characters are ! @ & ( ) - _ + [ ] { } , . / # ' ` ^ ~. maxLength : 80 nullable : true |
| phoneticLastName | string | Last name in Furigana. Katakana is allowed only. maxLength : 100 nullable : true |
| phoneticFirstName | string | First name in Furigana. Katakana is allowed only. maxLength : 100 nullable : true |
| Property | Type | Description |
|---|---|---|
| language | string | Language code Allowed values : ko_KR, ja_JP, zh_CN, zh_TW, en_US |
| firstName | string | First name in the language. The last name is followed by the first name in the organization chart. The allowed special characters are ! @ & ( ) - _ + [ ] { } , . / # ' ` ^ ~. maxLength : 100 nullable : true |
| lastName | string | Last name in the language. The last name is followed by the first name in the organization chart. The allowed special characters are ! @ & ( ) - _ + [ ] { } , . / # ' ` ^ ~. maxLength : 100 nullable : true |
| Property | Type | Description |
|---|---|---|
| domainId | integer | Domain ID required format : int32 |
| primary | boolean | Indicates whether it is the primary domain. Make sure that you have one primary item (primary: true). If not specified, the first item automatically becomes primary. required |
| userExternalKey | string |
Customer's member external key Some special characters, maxLength : 100 nullable : true |
| string | Email address. maxLength : 90 | |
| levelId | string | Job level ID. Specify this parameter using the "Enable job levels" API operation.
nullable : true |
| levelExternalKey | string | Customer's job level external key maxLength : 100 readOnly : true nullable : true |
| levelName | string | Job level name readOnly : true nullable : true |
| executive | boolean | Indicates whether the member is an executive or not. readOnly : true |
| organizationName | string | Company name readOnly : true |
| orgUnits | array (orgUnit) | List of teams minItems : 0 maxItems : 30 |
| Property | Type | Description |
|---|---|---|
| orgUnitId | string | Team ID
required |
| orgUnitExternalKey | string | Customer's team external key maxLength : 100 readOnly : true nullable : true |
| orgUnitName | string | Team name readOnly : true |
| orgUnitEmail | string | Team email address readOnly : true |
| primary | boolean | Indicates whether it is the primary team. Make sure that you have one primary item (primary: true). If not specified, the first item automatically becomes primary. required |
| positionId | string | Position ID. It is available only if usePosition of the "Enable Positions" API operation is "true". If not specified, "no position" applies.
nullable : true |
| positionExternalKey | string | Customer's position external key maxLength : 100 readOnly : true nullable : true |
| positionName | string | Position name readOnly : true nullable : true |
| isManager | boolean | Indicates whether the member is a team leader (default: false). If it is "true" and a team leader already exists, the member replaces them, and the previous team leader is relieved of their duties. default : false |
| visible | boolean | Indicates whether to make the member visible (default: true). It indicates whether to make the member visible in the organization chart. default : true |
| useTeamFeature | boolean | Indicates whether to use the team features (default: true). Use this parameter to restrict a member's use of the team features for security purposes, such as: receiving messages, sharing files and receiving team emails in the team's message room. If it is "true", the member can join the team's message room (Message/Note/Calendar/Folder) and use the following team features:
default : true |
| Property | Type | Description |
|---|---|---|
| protocol | string | Messenger protocol
required Allowed values : LINE, FACEBOOK, X, CUSTOM |
| customProtocol | string | A user specified value when the protocol parameter is CUSTOM. maxLength : 100 |
| messengerId | string | Messenger ID required minLength : 1 maxLength : 100 |
| Property | Type | Description |
|---|---|---|
| customFieldId | string | Custom field ID
required |
| customFieldExternalKey | string | Custom field external key maxLength : 100 readOnly : true nullable : true |
| value | string | Custom field's text to display. It is required if the custom field type is maxLength : 100 nullable : true |
| link | string | URL when the custom field type is
maxLength : 300 nullable : true |
| Property | Type | Description |
|---|---|---|
| propertyName | string | If propertyType is STRING and multiValued is false maxLength : 100 |
| array (string) | If propertyType is STRING and multiValued is true maxItems : 10 | |
| string | If propertyType is STRING, multiValued is false, and options exists, It is one of the options, optionName. | |
| array (string) | If propertyType is STRING, multiValued is true, and options exists, it is one of the options, optionName. maxItems : 10 | |
| string | If propertyType is DATE and multiValued is false, it is in the YYYY-MM-DD format. pattern : YYYY-MM-DD format : date | |
| array (string) | If propertyType is DATE and multiValued is true, it is in the YYYY-MM-DD format. maxItems : 10 | |
| integer | If propertyType is INTEGER and multiValued is false minimum : 0 | |
| array (integer) | If propertyType is INTEGER and multiValued is true maxItems : 10 | |
| object (CustomPropertyLink) | If propertyType is LINK and multiValued is false
| |
| array (CustomPropertyLink) | If propertyType is LINK and multiValued is true
maxItems : 10 |
| Property | Type | Description |
|---|---|---|
| text | string | Text maxLength : 100 nullable : true |
| link | string | URL maxLength : 300 |
| Property | Type | Description |
|---|---|---|
| relationUserId | string | Related contact member ID |
| relationName | string | Relation name maxLength : 50 |
| externalKey | string | externalKey maxLength : 100 readOnly : true nullable : true |
| Property | Type | Description |
|---|---|---|
| nextCursor | string | Cursor value for pagination |
example
1{2 "users": [3 {4 "domainId": 10000001,5 "userId": "userf7da-f82c-4284-13e7-030f3b4c756x",6 "userExternalKey": "USER_EXT_01",7 "isAdministrator": false,8 "isPending": false,9 "isSuspended": false,10 "isDeleted": false,11 "isAwaiting": true,12 "email": "localpart@example.com",13 "userName": {14 "lastName": "last",15 "firstName": "first"16 },17 "i18nNames": [],18 "nickName": "nickname",19 "privateEmail": "private.works@example.com",20 "aliasEmails": [],21 "searchable": true,22 "organizations": [23 {24 "domainId": 10000001,25 "primary": true,26 "email": "localpart@example.com",27 "levelId": "levelaa7-b824-4937-66af-042f1f43cefa",28 "levelName": "level",29 "executive": false,30 "organizationName": "org",31 "orgUnits": [32 {33 "orgUnitId": "orgunitf-f27f-4af8-27e1-03817a911417",34 "orgUnitEmail": "team01@example.com",35 "orgUnitName": "orgUnit1",36 "primary": true,37 "positionId": "position-7027-4a02-b838-6f52b5e38db7",38 "positionName": "position",39 "isManager": true,40 "visible": true,41 "useTeamFeature": true42 }43 ]44 }45 ],46 "telephone": "031-1234-5678",47 "cellPhone": "010-1234-5678",48 "location": "green building",49 "task": "mytask",50 "messenger": {51 "protocol": "LINE",52 "messengerId": "lineid"53 },54 "birthdayCalendarType": "SOLAR",55 "birthday": "2000-01-01",56 "locale": "en_US",57 "hiredDate": "2020-01-01",58 "timeZone": "America/New_York",59 "leaveOfAbsence": {60 "isLeaveOfAbsence": false61 },62 "customProperties": {63 "string_single": "hiking",64 "string_multi": [65 "hiking",66 "swimming"67 ],68 "string_single_option": "option_cooking",69 "string_multi_option": [70 "option_cooking",71 "option_piano"72 ],73 "date_single": "2025-03-23",74 "date_multi": [75 "2025-03-23",76 "2025-03-24"77 ],78 "integer_single": 123,79 "integer_multi": [80 123,81 45682 ],83 "link_single": {84 "text": "worksmobile",85 "link": "https://contact.worksmobile.com"86 },87 "link_multi": [88 {89 "text": "worksmobile",90 "link": "https://contact.worksmobile.com"91 },92 {93 "text": "line",94 "link": "https://www.line.me/"95 }96 ]97 },98 "relations": [99 {100 "relationUserId": "userfd-fc09-4a57-ab38-03dc6c425e09",101 "relationName": "Manager",102 "externalKey": "ExternalKeyValue"103 }104 ],105 "activationDate": "2030-11-12T09:30:00+09:00",106 "employeeNumber": "employee1234"107 }108 ],109 "responseMetaData": {110 "nextCursor": "JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA=="111 }112}