Reveal a newly created default API key once
GET /api/keys/reveal/{jti}
Returns the one-time plaintext for the authenticated account’s newly created default key. The 32-character hexadecimal JTI is consumed atomically. Invalid JTI returns 400; missing, expired, or already used JTI returns 404.
Authenticate with a portal session token.
Parameters
jtistring path requiredLength: 32 to 32 characters. Pattern:^[0-9a-f]{32}$
Responses
200 One-time plaintext returned.
application/json object
plaintextstring requiredWrite only
Generated sample
{
"plaintext": "string"
}400 Invalid JTI format.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
401 Missing or invalid bearer token.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
403 Authenticated caller lacks required permission or ability.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
404 JTI is missing, expired, already used, or belongs to another user.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
429 The request was rate limited. API-generated responses are JSON;
Response headers
Retry-Afterstring headerSeconds to wait before retrying, when provided.
X-RateLimit-Scopestring headerIdentifies the scope of the request limit, when provided.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string