---
title: "Get account IDs for users"
method: GET
path: "/rest/api/3/user/bulk/migration"
tags: ["Users"]
---

# Get account IDs for users

`GET /rest/api/3/user/bulk/migration`

Returns the account IDs for the users specified in the `key` or `username` parameters. Note that multiple `key` or `username` parameters can be specified.

**[Permissions](#permissions) required:** Permission to access Jira.

## Query parameters

- `startAt` integer
- `maxResults` integer
- `username` string[]
- `key` string[]

## Response `200`

Returned if the request is successful.

- UserMigrationBean[]
  - `accountId` string
  - `key` string
  - `username` string

## Other responses

- `400` — Returned if `key` or `username`
- `401` — Returned if the authentication credentials are incorrect or missing.

---

[API](https://skmtc.net/atlassian/apis/the-jira-cloud-platform-rest-api-2.md) · [All operations](https://skmtc.net/atlassian/apis/the-jira-cloud-platform-rest-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/atlassian/the-jira-cloud-platform-rest-api-2/versions/ec7f275dfee5/schema)
