Skip to main content
WEBHOOK
credential
{
  "eventType": "<string>",
  "requestId": "<string>",
  "issuerDid": "<string>",
  "user": {
    "contact": "<string>",
    "did": "<string>",
    "internalId": "<string>"
  },
  "decisionDate": "2023-11-07T05:31:56Z",
  "action": "accept",
  "credential": {
    "id": "507f1f77bcf86cd799439011",
    "resourceType": "DOCUMENT",
    "status": "PENDING",
    "proofs": [
      {
        "type": "DataIntegrityProof",
        "cryptosuite": "eddsa-jcs-2022",
        "proofPurpose": "assertionMethod",
        "verificationMethod": "did:via:humanos:org-uuid#key-1",
        "proofValue": "z6Mk...",
        "actionType": "ACCEPT",
        "actionProof": "0x1234567890abcdef",
        "createdAt": "2025-01-01T00:00:00Z"
      }
    ],
    "data": [
      {
        "label": "Consent statement",
        "type": "string",
        "value": "I consent to the terms and conditions",
        "hidden": false,
        "fields": [
          {}
        ]
      }
    ],
    "name": "Identity Document",
    "internalId": "internal-12345"
  },
  "internalId": "<string>",
  "api_version": "<string>"
}

Body

application/json
eventType
string
required
Allowed value: "credential"
requestId
string
required
issuerDid
string
required
user
object
required
decisionDate
string<date-time>
required
action
enum<string>
required
Available options:
accept,
reject
credential
object
required
internalId
string
api_version
string

Response

200

Webhook received successfully