Skip to content
Stashtab Vault API
Esc
navigateopen⌘Jpreview

Get the authenticated account

Use this as the first call to verify organization, environment, and API key metadata.

GET/account
Authorization
X-API-KeyAPI key · headerrequired
API key in format `sk_*`. Scoped to your partner account; server-side use only.
Responses
200Authenticated account metadata.
api_keyApiKeyMetadatarequired
Show properties
created_atstring<date-time>required
expires_atstring<date-time> | nullrequired
namestringrequired
environmentstringrequired
Allowed:livesandbox
organization_namestringrequired
401Missing, invalid, expired, or environment-mismatched API key.
codeErrorCoderequired
Stable machine-readable error vocabulary for v1.
Allowed:validation_errorstate_conflictenvironment_mismatchunsupported_destinationinvalid_api_keynot_foundrate_limited
extraobjectrequired
Structured details such as field errors or SKU availability.
messagestringrequired
Human-readable summary.
429Rate limit exceeded for this API key.
codeErrorCoderequired
Stable machine-readable error vocabulary for v1.
Allowed:validation_errorstate_conflictenvironment_mismatchunsupported_destinationinvalid_api_keynot_foundrate_limited
extraobjectrequired
Structured details such as field errors or SKU availability.
messagestringrequired
Human-readable summary.
Try it
Server
Authorization
Request
curl -X GET "https://api.vault.stashtab.gg/v1/account" \
  -H "X-API-Key: YOUR_API_KEY"
Response
{
  "api_key": {
    "created_at": "2019-08-24T14:15:22Z",
    "expires_at": "2019-08-24T14:15:22Z",
    "name": "string"
  },
  "environment": "live",
  "organization_name": "string"
}