MedicalTrace

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

ParameterInRequiredTypeDescription
idpathYesstringCredential 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

FieldTypeDescriptionExample
findings.signature.resultstringPASS or FAIL. FAIL when the credential is unsigned or the envelope does not match.PASS
findings.documentMatch.resultstringUNKNOWN when the underlying file is restricted.UNKNOWN
findings.credentialStatusobjectPASS with ACTIVE, or FAIL with REVOKED or SUPERSEDED.ACTIVE
findings.expiry.resultstringPASS inside the window. FAIL when not yet valid or past validTo.PASS
findings.anchoring.resultstringPASS when ANCHORED, UNKNOWN when ANCHOR_PENDING, otherwise NOT_APPLICABLE.UNKNOWN
checkedAtstringTime of this reading.2026-10-14T12:00:00.000Z