<aside> ℹ️

Please see API Authentication for a detailed description of how to authenticate yourself with our API.

</aside>

*POST /api/v1/credentials*

Issue Credential

The Create Credential API creates a verifiable credential in response to an onboarding request launched by a trading partner user. The API can be used by the Credential Issuer to provide CARO with the created credentials.

Issued credentials are revocable by default via Spherity's EthrRevocationRegistry revocation method. If you wish to use the LDAP revocation method, make sure to specify the optional credentialStatusId parameter with all necessary information.

Required attributes

credentialType enum | string

recipientDid string

data json

Optional attributes

credentialId string (urn:uuid:)

credentialStatusId string

expirationDate string (ISO 8601 format)