v1
latestOpenAPI 3.0.02026-07-17647099.1 KBIdentity
Create Identity
Endpoint to create an identity to issue credentials. Issuer node supports two types of keys (field type):
- BJJ Keys
- ETH Keys
credentialStatusType field is optional and and defines how the auth core claim will be evaluated during the process to verify that it has not been revoked.
post/v2/identities
Request body
Example request
{
"didMetadata": {
"method": "polygonid",
"blockchain": "polygon",
"network": "amoy",
"type": "BJJ"
},
"credentialStatusType": "Iden3ReverseSparseMerkleTreeProof",
"displayName": "KYCAgeCredential Issuer identity"
}Response
Identity created
Example response
{
"state": {
"modifiedAt": "2023-10-26T10:59:08Z",
"createdAt": "2023-10-26T10:59:08Z"
},
"credentialStatusType": "Iden3ReverseSparseMerkleTreeProof"
}