# Get an identity secret

```http
GET https://trydimmi.com/api/v1/identity-secrets/{secret}
```

## Authorization

Send an API token as `Authorization: Bearer <token>`.
The token needs: `settings:read`.

## Path parameters

- `secret` (string, required): Id of the identity verification secret, starting with isk_, such as isk_01jx2m8k4t. Find it with GET /identity-secrets.

## Response 200 (OK)

- `data` (object, required)
  - `algorithm` (string, required): The signing algorithm tokens must use with this secret: HS256, RS256, ES256 or EdDSA.
  - `audience` (string | null, required): The audience (aud) tokens checked with this secret must carry. Null when none is required.
  - `created_at` (string, required): When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
  - `fingerprint` (string, required): A short text that tells secrets apart without showing them, such as the last 4 characters of a shared secret.
  - `id` (string, required): The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
  - `issuer` (string | null, required): The issuer (iss) expected in tokens from the provider's key set. Null unless the source is jwks or none is set.
  - `jwks_error` (string | null, required): Why the last fetch of the provider's key set failed. Null when it worked or the source is not jwks.
  - `jwks_fetched_at` (string | null, required): When the provider's key set was last fetched. Null when the source is not jwks.
  - `jwks_url` (string | null, required): Address of the provider's key set. Null unless the source is jwks.
  - `kid` (string, required): The 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_at` (string | null, required): When a token was last checked with this secret. Null when it was never used.
  - `name` (string, required): The name the team gave this secret.
  - `object` (string, required): The kind of record this is, the same for every record of its kind, such as article.
  - `retires_at` (string | null, required): When a retiring secret stops working. Null when no retirement is set.
  - `revoked_at` (string | null, required): When the secret was revoked. Null when it was not.
  - `source` (string, required): What the secret verifies tokens with: shared_secret, public_key (an uploaded key) or jwks (a provider's key set).
  - `status` (string, required): Where the secret stands: active, retiring (still works until retires_at) or revoked.

## Response default (Error)

- `code` (string, required): Stable code for programs to tell errors apart, such as validation_failed or internal_error.
- `errors` (object): Each rejected field mapped to its messages. Only present when the input was invalid.
- `message` (string, required): What went wrong, in words safe to show a person.

## Example request

```bash
curl --request GET \
  --url 'https://trydimmi.com/api/v1/identity-secrets/{secret}' \
  --header 'Authorization: Bearer <token>'
```

## Example response

```json
{
  "data": {
    "algorithm": "<string>",
    "audience": "<string>",
    "created_at": "2026-11-01T09:30:00Z",
    "fingerprint": "<string>",
    "id": "<string>",
    "issuer": "<string>",
    "jwks_error": "<string>",
    "jwks_fetched_at": "2026-11-01T09:30:00Z",
    "jwks_url": "<string>",
    "kid": "<string>",
    "last_used_at": "2026-11-01T09:30:00Z",
    "name": "<string>",
    "object": "<string>",
    "retires_at": "2026-11-01T09:30:00Z",
    "revoked_at": "2026-11-01T09:30:00Z",
    "source": "<string>",
    "status": "<string>"
  }
}
```

---

Index of all dimmi docs: https://trydimmi.com/llms.txt (full text: https://trydimmi.com/llms-full.txt)
