Credentials
Issue a credential directly (management)
Issue an SD-JWT VC (Selective-Disclosure JWT Verifiable Credential) to a holder. You provide a template UUID, the holder public JWK (JSON Web Key), and claim values. The API returns the issued credential identifier and serialized credential.
post/v1/credentials/issue
Request body
Example request
{
"template_id": "5588f83f-620b-4614-8ffa-933634a0b708",
"holder_jwk": {
"crv": "P-256",
"kty": "EC",
"x": "Y9feBRecVo4n0vrl8iFCTuaC9y3XMEZd3pxaE-yMdW4",
"y": "YP8zky5B1mzZO2zHX2aSAemQKh4Tx6WMVclUj1W7S2Q"
},
"claims": {
"given_name": "Ada",
"tier": "gold"
}
}Response
The credential was issued.
Example response
{
"credential_id": "6585d444-c19b-40e8-a64a-3e24a838214c",
"vct": "AirlineLoyalty",
"sd_jwt": "<redacted>",
"status_idx": 34
}