Overview
- Introduction
- Authentication
- Examples
Endpoints
- Identities
- Token Auth
- Universal Auth
- GCP Auth
- AWS Auth
- Azure Auth
- Kubernetes Auth
- OIDC Auth
- JWT Auth
- LDAP Auth
- Groups
- Organizations
- Projects
- Project Users
- Project Groups
- Project Identities
- Project Roles
- Project Templates
- Environments
- Folders
- Secret Tags
- Secrets
- Dynamic Secrets
- Secret Imports
- Secret Rotations
- Identity Specific Privilege
- App Connections
- Secret Syncs
- Integrations
- Service Tokens
- Audit Logs
Infisical PKI
- Certificate Authorities
- Certificates
- Certificate Templates
- Certificate Collections
- PKI Alerting
Infisical SSH
- Hosts
- Host Groups
- Certificates
- Certificate Authorities
- Certificate Templates
Infisical KMS
- Keys
- Encryption
- Signing
Get My User
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
An API Key in Infisical
Response
200 - application/json
Default Response
The response is of type object
.
Was this page helpful?
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"
}
}