Skip to main content
POST
/
credentials
/
issue
Issue Credential
curl --request POST \
  --url https://api.example.com/credentials/issue \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "credential": {
    "@context": [
      "https://www.w3.org/2018/credentials/v1",
      "https://www.w3.org/2018/credentials/examples/v1"
    ],
    "id": "http://example.gov/credentials/3732",
    "type": [
      "VerifiableCredential",
      "UniversityDegreeCredential"
    ],
    "issuer": "did:example:123",
    "issuanceDate": "2020-03-16T22:37:26.544Z",
    "expirationDate": "2021-03-16T22:37:26.544Z",
    "credentialSubject": {
      "id": "did:example:123",
      "degree": {
        "type": "BachelorDegree",
        "name": "Bachelor of Science and Arts"
      }
    }
  }
}

Body

application/json

The body is of type object.

Response

Credential successfully issued!

credential
object
required

Credential issued.