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 |
|---|---|---|
| domainId | integer | Domain ID example : 10000001 format : int32 |
| count | integer | Number of items to get default : 100 minimum : 1 maximum : 100 example : 100 format : int32 |
| cursor | string | Cursor example : JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA== |
| 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, TWITTER, 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 "suspendedReason": null,13 "email": "localpart@example.com",14 "userName": {15 "lastName": "last",16 "firstName": "first",17 "phoneticLastName": null,18 "phoneticFirstName": null19 },20 "i18nNames": [],21 "nickName": "nickname",22 "privateEmail": "private.works@example.com",23 "aliasEmails": [],24 "employmentTypeId": null,25 "employmentTypeName": null,26 "employmentTypeExternalKey": null,27 "userTypeId": null,28 "userTypeName": null,29 "userTypeExternalKey": null,30 "userTypeCode": null,31 "searchable": true,32 "organizations": [33 {34 "domainId": 10000001,35 "primary": true,36 "userExternalKey": null,37 "email": "localpart@example.com",38 "levelId": "levelaa7-b824-4937-66af-042f1f43cefa",39 "levelExternalKey": null,40 "levelName": "level",41 "executive": false,42 "organizationName": "org",43 "orgUnits": [44 {45 "orgUnitId": "orgunitf-f27f-4af8-27e1-03817a911417",46 "orgUnitExternalKey": null,47 "orgUnitEmail": "team01@example.com",48 "orgUnitName": "orgUnit1",49 "primary": true,50 "positionId": "position-7027-4a02-b838-6f52b5e38db7",51 "positionExternalKey": null,52 "positionName": "position",53 "isManager": true,54 "visible": true,55 "useTeamFeature": true56 }57 ]58 }59 ],60 "telephone": "031-1234-5678",61 "cellPhone": "010-1234-5678",62 "location": "green building",63 "task": "mytask",64 "messenger": {65 "protocol": "LINE",66 "messengerId": "lineid"67 },68 "birthdayCalendarType": "SOLAR",69 "birthday": "2000-01-01",70 "locale": "en_US",71 "hiredDate": "2020-01-01",72 "timeZone": "America/New_York",73 "leaveOfAbsence": {74 "startTime": null,75 "endTime": null,76 "isLeaveOfAbsence": false77 },78 "customProperties": {79 "string_single": "hiking",80 "string_multi": [81 "hiking",82 "swimming"83 ],84 "string_single_option": "option_cooking",85 "string_multi_option": [86 "option_cooking",87 "option_piano"88 ],89 "date_single": "2025-03-23",90 "date_multi": [91 "2025-03-23",92 "2025-03-24"93 ],94 "integer_single": 123,95 "integer_multi": [96 123,97 45698 ],99 "link_single": {100 "text": "worksmobile",101 "link": "https://contact.worksmobile.com"102 },103 "link_multi": [104 {105 "text": "worksmobile",106 "link": "https://contact.worksmobile.com"107 },108 {109 "text": "line",110 "link": "https://www.line.me/"111 }112 ]113 },114 "relations": [115 {116 "relationUserId": "userfd-fc09-4a57-ab38-03dc6c425e09",117 "relationName": "Manager",118 "externalKey": "ExternalKeyValue"119 }120 ],121 "activationDate": "2030-11-12T09:30:00+09:00",122 "employeeNumber": "employee1234"123 }124 ],125 "responseMetaData": {126 "nextCursor": "JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA=="127 }128}