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.
| Record | Shared link path | Verification 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
- Load the issuer’s public keys from Sigil JWKS and require RS256. Pin
isstohttps://www.sigilid.space. - Require the correct JWT type and audience from the table. Require
iat,exp,sub, andstatus_url. Validate expiry and the expected record ID and URL. - Check current status online when relying on the credential. A signed file can remain cryptographically valid after the record is revoked.
| Record | JWT type | Audience suffix on the Sigil origin |
|---|---|---|
| Digital ID | sigil-digital-id+jwt | /digital-id |
| Attestation | sigil-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
200Active record with a signed credential.404The record is unknown, private, or the ID is invalid.410A previously available record is no longer active. For a Digital ID,statusisexpiredorwithdrawn.503Verification 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.