GET
/
api
/
v2
/
users
/
me
curl --request GET \
  --url https://app.infisical.com/api/v2/users/me \
  --header 'X-API-Key: <api-key>'
{
  "user": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "email": "<string>",
    "authMethods": [
      "<string>"
    ],
    "superAdmin": false,
    "firstName": "<string>",
    "lastName": "<string>",
    "isAccepted": false,
    "isMfaEnabled": false,
    "mfaMethods": [
      "<string>"
    ],
    "devices": "<any>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "isGhost": false,
    "username": "<string>",
    "clientPublicKey": "<string>",
    "serverPrivateKey": "<string>",
    "encryptionVersion": 2,
    "protectedKey": "<string>",
    "protectedKeyIV": "<string>",
    "protectedKeyTag": "<string>",
    "publicKey": "<string>",
    "encryptedPrivateKey": "<string>",
    "iv": "<string>",
    "tag": "<string>",
    "salt": "<string>",
    "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}

This endpoint will be deprecated in the near future in Q1/Q2 2024.

We recommend switching to using identities.

Authorizations

X-API-Key
string
header
required

An API Key in Infisical

Response

200 - application/json
Default Response

The response is of type object.