---
title: "Get address for zkLogin user"
method: GET
path: "/v1/zklogin"
---

# Get address for zkLogin user

`GET /v1/zklogin`

## Request

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

Returns the address and salt value for the 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

- ZkLoginResponse
  - `data` object, required
    - `salt` string, required
    - `address` string, required
    - `publicKey` string, required

---

[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)
