POST /api/v1/credentials/issue HTTP/1.1 Host: sunbirdrc.dev Token: YOUR_API_KEY Content-Type: appliation/json Accept: */* Content-Length: 226 { "credential": { "context": [ "text" ], "id": "text", "type": "text", "issuer": {}, "issuanceDate": "2025-05-02T18:20:49.668Z", "expirationDate": "2025-05-02T18:20:49.668Z", "credentialSubject": {} }, "credentialSchemaId": "text", "tags": [ "text" ] }
Credential successfully issued!
{ "credential": { "context": [ "text" ], "id": "text", "type": "text", "issuer": {}, "issuanceDate": "2025-05-02T18:20:49.668Z", "expirationDate": "2025-05-02T18:20:49.668Z", "credentialSubject": {}, "proof": { "type": "text", "created": "text", "challenge": "text", "domain": "text", "nonce": "text", "verificationMethod": "text", "proofPurpose": "text", "jws": "text", "proofValue": "text" } }, "credentialSchemaId": "text", "tags": [ "text" ], "createdAt": "text", "updatedAt": "text", "createdBy": "text", "updatedBy": "text" }
application/json
application/vc+ld+json
text/html
image/svg+xml
text/plain
image/jpeg
GET /api/v1/credentials/{id} HTTP/1.1 Host: sunbirdrc.dev Token: YOUR_API_KEY accept: application/json Accept: */*
OK
{ "context": [ "text" ], "id": "text", "type": "text", "issuer": {}, "issuanceDate": "2025-05-02T18:20:49.668Z", "expirationDate": "2025-05-02T18:20:49.668Z", "credentialSubject": {}, "proof": { "type": "text", "created": "2025-05-02T18:20:49.668Z", "challenge": "text", "domain": "text", "nonce": "text", "verificationMethod": "text", "proofPurpose": "text", "jws": "text", "proofValue": "text" } }
DELETE /api/v1/credentials/{id} HTTP/1.1 Host: sunbirdrc.dev Token: YOUR_API_KEY Accept: */*
{ "revocationListIndex": "text" }
claim
sign
POST /api/v1/credentials/search HTTP/1.1 Host: sunbirdrc.dev Token: YOUR_API_KEY Content-Type: appliation/json Accept: */* Content-Length: 63 { "issuer": { "id": "text" }, "subject": { "id": "text" }, "type": "claim" }
[ { "context": [ "text" ], "id": "text", "type": "text", "issuer": {}, "issuanceDate": "2025-05-02T18:20:49.668Z", "expirationDate": "2025-05-02T18:20:49.668Z", "credentialSubject": {}, "proof": { "type": "text", "created": "2025-05-02T18:20:49.668Z", "challenge": "text", "domain": "text", "nonce": "text", "verificationMethod": "text", "proofPurpose": "text", "jws": "text", "proofValue": "text" } } ]
Verifies a verifiableCredential and returns a verificationResult in the response body.
GET /api/v1/credentials/{id}/verify HTTP/1.1 Host: sunbirdrc.dev Token: YOUR_API_KEY Accept: */*
{ "status": "Active", "checks": [ { "active": "OK", "revoked": "OK", "expired": "OK", "proof": "OK" } ], "warnings": [ "text" ], "errors": [ "text" ] }
The ID of the issuer
The page number
The limit of items per page
GET /api/v1/credentials/revocation-list HTTP/1.1 Host: sunbirdrc.dev Token: YOUR_API_KEY Accept: */*
[ {} ]
Last updated 9 months ago