Issue an email credential
Tutorial on how to issue an email credential using Issuer REST API
Goal
Guide
2
4
Create a Credential
curl --location '$ISSUER_API_BASE_URL/private/credential-offers' \
--header 'X-API-KEY: $API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
"credentialOffers": [
{
"credentialId": "emailCredential",
"email": "<RECIPIENT_EMAIL_ADDRESS>",
"referenceId": "<OPT_REFERENCE_ID_AS_UUID>",
"expirationDate": "<EXPIRATION_DATE_ISO>"
"claims": [
{
"dataType": "string",
"claimName": "email",
"claimValue": "<EMAIL>"
}
]
}
],
"credentialOfferCollectionId: "<CREDENTIAL_OFFER_COLLECTION_ID>"
"organisationProfileId": "<ORGANISATION_PROFILE_ID>"
"correlationId": "teranode"
}'Conclusion
Last updated