Skip to main content

Type Alias: WebhookEventDetail

type WebhookEventDetail: components["schemas"]["WebhookEventDetail"];

Properties

PropertyTypeRequiredDescription
idstringYesEvent ID
tenantIdstringYesTenant ID
projectIdstringNoProject/App ID
eventTypestringYesEvent type (example: "message.created")
payloadobjectYesEvent payload
status"pending" | "delivered" | "failed"YesDelivery status
attemptsCountnumberYesNumber of delivery attempts
lastErrorstringNoLast error message
nextAttemptAtstringYesNext delivery attempt time
createdAtstringYesCreation timestamp
deliveriesWebhookDelivery[]YesDelivery attempts

Defined in

4Players/cortex-typescript-sdk/src/resources/webhooks.ts:18