Verify a credential
Read signature, document match, status, expiry, and anchoring as separate findings.
This route does not require a token. A missing credential returns 404. Unknown stays unknown. The findings are not a safety score.
1. Request URL
GET https://api.medicaltrace.net/v1/credentials/55555555-5555-4555-8555-555555555555/verify
2. Request parameters
| Parameter | In | Required | Type | Description |
|---|---|---|---|---|
id | path | Yes | string | Credential id. |
3. Request example
curl -s -X GET 'https://api.medicaltrace.net/v1/credentials/55555555-5555-4555-8555-555555555555/verify'4. Response data
HTTP 200. The body below uses the fictional DEMO-BED-001 fixtures.
{
"credentialId": "55555555-5555-4555-8555-555555555555",
"checkedAt": "2026-10-14T12:00:00.000Z",
"findings": {
"signature": {
"result": "PASS"
},
"documentMatch": {
"result": "UNKNOWN",
"detail": "ACCESS_REQUIRED for underlying documents"
},
"credentialStatus": {
"result": "PASS",
"detail": "ACTIVE"
},
"expiry": {
"result": "PASS"
},
"anchoring": {
"result": "UNKNOWN",
"detail": "ANCHOR_PENDING"
},
"issuerAuthorizationAtIssuance": {
"result": "PASS",
"detail": "Grant checked at sign time for MVP"
}
},
"limitations": [
"Underlying evidence does not establish clinical safety",
"HMAC-SHA256-DEV is a development signing scheme, not production issuer keys"
]
}5. Response fields
| Field | Type | Description | Example |
|---|---|---|---|
findings.signature.result | string | PASS or FAIL. FAIL when the credential is unsigned or the envelope does not match. | PASS |
findings.documentMatch.result | string | UNKNOWN when the underlying file is restricted. | UNKNOWN |
findings.credentialStatus | object | PASS with ACTIVE, or FAIL with REVOKED or SUPERSEDED. | ACTIVE |
findings.expiry.result | string | PASS inside the window. FAIL when not yet valid or past validTo. | PASS |
findings.anchoring.result | string | PASS when ANCHORED, UNKNOWN when ANCHOR_PENDING, otherwise NOT_APPLICABLE. | UNKNOWN |
checkedAt | string | Time of this reading. | 2026-10-14T12:00:00.000Z |