Bulk Get Users
GET {{baseUrl}}/rest/api/3/user/bulk?startAt=0&maxResults=10&username=<string>&username=<string>&key=<string>&key=<string>&accountId=<string>&accountId=<string>
Returns a paginated list of the users specified by one or more account IDs.
Permissions required: Permission to access Jira.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
startAt | number | The index of the first item to return in a page of results (page offset). | |
maxResults | number | The maximum number of items to return per page. | |
username | string | This parameter is no longer available and will be removed from the documentation soon. See the deprecation notice for details. | |
username | string | This parameter is no longer available and will be removed from the documentation soon. See the deprecation notice for details. | |
key | string | This parameter is no longer available and will be removed from the documentation soon. See the deprecation notice for details. | |
key | string | This parameter is no longer available and will be removed from the documentation soon. See the deprecation notice for details. | |
accountId | string | (Required) The account ID of a user. To specify multiple users, pass multiple accountId parameters. For example, accountId=5b10a2844c20165700ede21g&accountId=5b10ac8d82e05b22cc7d4ef5 . | |
accountId | string | (Required) The account ID of a user. To specify multiple users, pass multiple accountId parameters. For example, accountId=5b10a2844c20165700ede21g&accountId=5b10ac8d82e05b22cc7d4ef5 . |
RESPONSES
status: OK
{"maxResults":100,"startAt":0,"total":1,"isLast":true,"values":[{"self":"https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g","key":"","accountId":"5b10a2844c20165700ede21g","name":"","emailAddress":"mia@example.com","avatarUrls":{"48x48":"https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48\u0026s=48","24x24":"https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24\u0026s=24","16x16":"https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16\u0026s=16","32x32":"https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32\u0026s=32"},"displayName":"Mia Krystof","active":true,"timeZone":"Australia/Sydney","groups":{"size":3,"items":[]},"applicationRoles":{"size":1,"items":[]}}]}