v1
latestOpenAPI 3.0.02026-07-17647099.1 KBCredentials
Create Credential
Creates a credential for the provided identity.
post/v2/identities/{identifier}/credentials
Path parameters
identifierstring required
Issuer identifier
Request body
Example request
{
"credentialSchema": "https://raw.githubusercontent.com/iden3/claim-schema-vocab/main/schemas/json/KYCAgeCredential-v3.json",
"type": "KYCAgeCredential",
"credentialSubject": {
"id": "fill with did",
"birthday": 19960424,
"documentType": 2
},
"expiration": 1903357766
}Response
Credential Created