Sigil

Developer guide

Verify a shared record

Check the signature and current status before relying on a Digital ID or organization attestation.

Look up a record

Take the opaque ID from a link shared by the holder. Accept only the Sigil HTTPS origin and the exact path pattern. Build the lookup URL yourself.

RecordShared link pathVerification API
Digital ID/id/{id}/api/v1/digital-ids/{id}
Attestation/attestation/{id}/api/v1/attestations/{id}
GET /api/v1/digital-ids/{id}
Accept: application/json

200 OK
{ "id": "…", "status": "active", "expires_at": "…", "credential": "…" }

Use an authenticated UserInfo response with the digital_id scope when you need the active Digital ID associated with the signed-in account. The digital_id_url claim is omitted if none is active. Match UserInfo sub to the verified ID token before using the URL. Removing an app’s access stops future OAuth disclosures. An existing share link remains active until the record expires or is revoked.

Validate the signed record

  1. Load the issuer’s public keys from Sigil JWKS and require RS256. Pin iss to https://www.sigilid.space.
  2. Require the correct JWT type and audience from the table. Require iat, exp, sub, and status_url. Validate expiry and the expected record ID and URL.
  3. Check current status online when relying on the credential. A signed file can remain cryptographically valid after the record is revoked.
RecordJWT typeAudience suffix on the Sigil origin
Digital IDsigil-digital-id+jwt/digital-id
Attestationsigil-organization-attestation+jwt/organization-attestations

Record sub identifies that record. The account subject from sign-in is a different identifier. Digital IDs issued under the Civil Identity Record Standard carry standard: SG-CIR-2956.1, proof_method: rsi-public-bio-challenge, and rsi_verified_at. The proof covers control of the public RSI profile at that date. The issuer signs the holder-supplied display name. Portraits and editions remain outside the signed claims. Verify the organization and claim type before relying on an attestation.

Interpret the result

  • 200 Active record with a signed credential.
  • 404 The record is unknown, private, or the ID is invalid.
  • 410 A previously available record is no longer active. For a Digital ID, status is expired or withdrawn.
  • 503 Verification is temporarily unavailable. Treat the status as unknown.

The signed organization.registry identifies the issuer’s registry. rsi is an RSI organization. sigil is an organization registered directly in Sigil. Older signed records may omit this field.

A self-issued membership record has an issuance claim of self-issued-by-verified-owner for an RSI-verified owner or self-issued-by-sigil-owner for a Sigil-assigned owner. Use that provenance when applying your own acceptance policy.

Use the public URL for a human-facing link. A shared record alone does not establish that the presenter controls its account or has access to your app.