# Credentials

First written 11 March 2026, revised 15 August 2026.

W3C Verifiable Credential issuance, verification, and revocation.

7 endpoints

## Endpoints

| Method | Path | Description | Auth |

[

`/credentials/`

List credentials

| GET |  | List credentials | JWT |

][

`/credentials/.well-known/alter-keys.json`

Public JWKS endpoint

| GET |  | Public JWKS endpoint | Public |

][

`/credentials/{credential_id}`

Get credential detail

| GET |  | Get credential detail | JWT |

][

`/credentials/{credential_id}/revoke`

Revoke a credential

| POST |  | Revoke a credential | JWT |

][

`/credentials/{credential_id}/verify`

Verify a credential

| GET |  | Verify a credential | Public |

][

`/credentials/issue`

Issue a verifiable credential

| POST |  | Issue a verifiable credential | JWT |

][

`/credentials/verify`

Verify attestation token

| GET |  | Verify attestation token | Public |

]

## Endpoint Details

POST `/credentials/issue` JWT

Issue a new W3C Verifiable Credential for the current member. Platform admins may issue for any member; members can only issue self-attested credentials.

#### Request Example

```
{
  "credential_type": "trait_attestation",
  "attestation_tier": "self_attested",
  "claims": {
    "archetype_family": "Architect",
    "trait_coverage": 0.85
  },
  "expiry_days": 365
}

```
GET `/credentials/` JWT

List credentials for the current user. Cursor-paginated with optional status and type filters.

#### Query Parameters

| Name | Type | Required | Description |
| `status` | ` string` | Optional | Filter by status (active, revoked, expired) |
| `credential_type` | ` string` | Optional | Filter by credential type |
| `limit` | ` integer` | Optional | Page size (max 100) |
| `cursor` | ` string` | Optional | Pagination cursor |

GET `/credentials/{credential_id}` JWT

Returns the full credential detail. Members see own; admins see all.

#### Path Parameters

| Name | Type | Required | Description |
| `credential_id`* | `string` | Required | Credential UUID |

GET `/credentials/{credential_id}/verify` Public

Public verification endpoint - verifies JWT signature, checks expiration and revocation status. No authentication required.

#### Path Parameters

| Name | Type | Required | Description |
| `credential_id`* | `string` | Required | Credential UUID |

GET `/credentials/verify` Public

Stateless verification of compact attestation JWTs. Verifies the ES256 signature cryptographically without requiring the credential to exist in the database. Free and public.

#### Query Parameters

| Name | Type | Required | Description |
| `token`* | `string` | Required | Compact attestation JWT to verify |
| `check_revocation` | ` boolean` | Optional | Whether to check revocation status (default true) |

POST `/credentials/{credential_id}/revoke` JWT

Revoke a credential. Only the owning member or a platform admin can revoke.

#### Path Parameters

| Name | Type | Required | Description |
| `credential_id`* | `string` | Required | Credential UUID |

#### Request Example

```
{
  "reason": "Data no longer accurate"
}

```
GET `/credentials/.well-known/alter-keys.json` Public

Returns the platform's ES256 public key in JWKS format for independent verification of compact attestation tokens.

https://truealter.com/docs/rest-api/credentials
