Messenger
Rename, retire or revoke an identity secret
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the settings:write ability
Path parameters
secretstringrequiredId of the identity verification secret, starting with isk_, such as isk_01jx2m8k4t. Find it with GET /identity-secrets.
Body
application/jsonnamestringThe name of the identity secret, at most 60 characters.
Maximum length: 60
reasonstringWith status revoked: manual (default) or compromised.
Available options:manualcompromised
retires_atstringRFC 3339 time in the next 30 days, with status retiring; defaults to a week out.
Format: date-time
revoke_sessionsbooleanWith status revoked: false keeps the visitors it signed in; defaults to true.
statusstringretiring keeps it working until retires_at; revoked stops it now. A revoked secret cannot change again.
Available options:activeretiringrevoked
Response 200
OKdataobjectrequiredShow child attributesHide child attributes
algorithmstringrequiredThe signing algorithm tokens must use with this secret: HS256, RS256, ES256 or EdDSA.
audiencestring | nullrequiredThe audience (aud) tokens checked with this secret must carry. Null when none is required.
created_atstringrequiredWhen it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
Format: date-time
fingerprintstringrequiredA short text that tells secrets apart without showing them, such as the last 4 characters of a shared secret.
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
issuerstring | nullrequiredThe issuer (iss) expected in tokens from the provider's key set. Null unless the source is jwks or none is set.
jwks_errorstring | nullrequiredWhy the last fetch of the provider's key set failed. Null when it worked or the source is not jwks.
jwks_fetched_atstring | nullrequiredWhen the provider's key set was last fetched. Null when the source is not jwks.
Format: date-time
jwks_urlstring | nullrequiredAddress of the provider's key set. Null unless the source is jwks.
kidstringrequiredThe value a token's kid header must carry to pick this secret; equal to the secret's id (isk_...). Empty when the source is jwks.
last_used_atstring | nullrequiredWhen a token was last checked with this secret. Null when it was never used.
Format: date-time
namestringrequiredThe name the team gave this secret.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
retires_atstring | nullrequiredWhen a retiring secret stops working. Null when no retirement is set.
Format: date-time
revoked_atstring | nullrequiredWhen the secret was revoked. Null when it was not.
Format: date-time
sourcestringrequiredWhat the secret verifies tokens with: shared_secret, public_key (an uploaded key) or jwks (a provider's key set).
statusstringrequiredWhere the secret stands: active, retiring (still works until retires_at) or revoked.
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.