Properties
| Name | Type | Description |
|---|---|---|
| type | string | Event type: APPLICATION_AUTHORIZED, ENTITLEMENT_CREATE, QUEST_USER_ENROLLMENT |
| timestamp | string | When the event occurred |
| data | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/WebhookEventBody",
"title": "WebhookEventBody",
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Event type: APPLICATION_AUTHORIZED, ENTITLEMENT_CREATE, QUEST_USER_ENROLLMENT",
"enum": [
"APPLICATION_AUTHORIZED",
"ENTITLEMENT_CREATE",
"QUEST_USER_ENROLLMENT"
]
},
"timestamp": {
"type": "string",
"format": "date-time",
"description": "When the event occurred"
},
"data": {
"oneOf": [
{
"$ref": "#/components/schemas/ApplicationAuthorizedData"
},
{
"$ref": "#/components/schemas/EntitlementCreateData"
},
{
"$ref": "#/components/schemas/QuestUserEnrollmentData"
}
]
}
},
"required": [
"type",
"timestamp"
]
}