Path Parameters
| Param | Description |
|---|---|
did | Issuer DID authorized to issue credentials |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
template_id | string | ✅ | Credential template ID configured for this issuer |
holder_did | string | ✅ | Target holder who will receive the credential |
attributes | object | ✅ | Key/value pairs matching template holder/issuer fields |
expires_at | string | ➖ | Optional ISO timestamp for credential expiry |
Response
200 OK
Requires issuer authentication and the template must belong to the requesting DID. The backend uploads credential preview to IPFS and anchors the hash on-chain when blockchain client is configured.