---
title: "Get addresses for zkLogin user"
method: GET
path: "/v1/zklogin/addresses"
tags: ["experimental"]
---

# Get addresses for zkLogin user

`GET /v1/zklogin/addresses`

## Request

- Base URL: `http://api.enoki.mystenlabs.com`
- URL: `http://api.enoki.mystenlabs.com/v1/zklogin/addresses`
- Auth: HTTP bearer

Returns the addresses for a given JWT. If the JWT is not valid, the API will return an error code.

## Headers

- `zklogin-jwt` string, required: The JWT of the user signed in with zkLogin.

## Response `200`

Successful response

- ZkLoginAddressesResponse
  - `data` object, required
    - `addresses` object[], required
      - `clientId` string, required
      - `salt` string, required
      - `address` string, required
      - `publicKey` string, required
      - `legacy` boolean

---

[API](https://skmtc.dev/mystenlabs/apis/enoki-api-specification.md) - [All operations](https://skmtc.dev/mystenlabs/apis/enoki-api-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/mystenlabs/apis/enoki-api-specification/revisions/2ac8d418823a?raw)
