curl --request GET \
--url https://api.vaultcord.com/accounts/settings \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"id": 25204,
"email": "[email protected]",
"role": "plus",
"expiry": 1750018387,
"twoFactorEnabled": 0,
"securityKey": 0,
"created_at": 1710529170
}
}Get information about the current account.
curl --request GET \
--url https://api.vaultcord.com/accounts/settings \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"id": 25204,
"email": "[email protected]",
"role": "plus",
"expiry": 1750018387,
"twoFactorEnabled": 0,
"securityKey": 0,
"created_at": 1710529170
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Account settings, if this succeeds your API key is working
true
Show child attributes
The ID of the account
25204
The email of the account
The subscription plan of the account
free, premium, plus "plus"
The expiration of the subscription plan, in unix timestamp (seconds)
1750018387
The 2FA status of the account, 0 = OFF, 1 = ON
0, 1 0
The WebAuthn status of the account, 0 = OFF, 1 = ON
0, 1 0
The creation date of the account, in unix timestamp (seconds)
1710529170
Was this page helpful?