๐Ÿ›ก VALIDIRIS

API & integration

A thin REST API over HTTPS. Issuing and revoking need your API key; verification and badges are public and unauthenticated. Base URL: https://validiris.ordinisonline.com.

1. Authentication

Send your key as Authorization: Bearer vdr_โ€ฆ (or X-API-Key: vdr_โ€ฆ). We issue the key once when we activate your organisation and store only a hash โ€” keep it secret. Quick check that your key is live:

curl -X POST https://validiris.ordinisonline.com/credentials \
  -H "Authorization: Bearer $VALIDIRIS_KEY" \
  -H "Content-Type: application/json" \
  -d '{"holder":"connectivity test","cred_type":"<one-of-your-types>"}'

2. Issue a credential โ€” key required

curl -X POST https://validiris.ordinisonline.com/credentials \
  -H "Authorization: Bearer $VALIDIRIS_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "holder": "Name or subject of the credential",
    "cred_type": "PublicationProof",        # must be one of your allowed types
    "claims": { "title": "Investigation X", "url": "https://โ€ฆ" },
    "expires_at": null                        # ISO date, or null for no expiry
  }'

# โ†’ { "ok": true, "credential": {
#       "id": 42, "status": "active",
#       "vc_jwt": "eyJhbGciOiJFZERTQS0โ€ฆ",     # signed W3C Verifiable Credential
#       "issued_at": "2026-โ€ฆ" } }

Validiris signs it (Ed25519) and records your organisation as the issuer. Keep the returned id โ€” it's what people verify.

3. Verify a credential โ€” public, no key

curl https://validiris.ordinisonline.com/credentials/42/verify

# โ†’ { "ok": true, "verification": {
#       "valid": true, "reason": "ok",
#       "signature_ok": true, "revoked": false, "expired": false,
#       "holder": "โ€ฆ", "cred_type": "PublicationProof", "issuer": "did:web:trust.pulsecore.be" } }

Human-readable page: https://validiris.ordinisonline.com/verify?id=42

4. Embeddable badge โ€” public, no key

<a href="https://validiris.ordinisonline.com/verify?id=42">
  <img src="https://validiris.ordinisonline.com/badge/42.svg" alt="Validiris verification status">
</a>

Live SVG, cached ~5 min. Shows Validiris Verified (green), or Revoked / Not valid (red) automatically as status changes.

5. Revoke a credential โ€” key required

curl -X POST https://validiris.ordinisonline.com/credentials/42/revoke \
  -H "Authorization: Bearer $VALIDIRIS_KEY" \
  -H "Content-Type: application/json" \
  -d '{"reason":"superseded"}'

# โ†’ { "ok": true, "revoked": true }
# verification now returns valid:false, reason:"revoked"; the badge turns red.

6. Common errors

401Missing/invalid API key, or your issuer is suspended. Check the Authorization header.
403cred_type is not in your approved types. Ask us to add it.
400Missing holder or cred_type, or malformed JSON.
404No credential with that id (verify returns reason:"not_found").
429Rate limited โ€” slow down and retry shortly.

Every response is JSON with an ok boolean; on failure, error carries a message.

Request access โ†’

Validiris is the trust layer of Pulse Core โ€” an intelligence & trust system. Trust by Validiris ยท Intelligence by Pulse Core.
Terms ยท Privacy / GDPR ยท Trust & Verification Policy ยท draft, pending legal review