Skip to content

WebhookResultDto

Result of a webhook notification

Properties

Name Type Description Notes
id UUID [optional]
userId UUID
inboxId UUID [optional]
webhookId UUID
webhookUrl String
messageId String
redriveId UUID [optional]
httpMethod HttpMethodEnum
webhookEvent WebhookEventEnum
responseStatus Integer [optional]
responseTimeMillis Long
responseBodyExtract String [optional]
resultType ResultTypeEnum [optional]
createdAt OffsetDateTime
updatedAt OffsetDateTime
seen Boolean

Enum: HttpMethodEnum

Name Value
GET "GET"
HEAD "HEAD"
POST "POST"
PUT "PUT"
PATCH "PATCH"
DELETE "DELETE"
OPTIONS "OPTIONS"
TRACE "TRACE"

Enum: WebhookEventEnum

Name Value
EMAIL_RECEIVED "EMAIL_RECEIVED"
NEW_EMAIL "NEW_EMAIL"
NEW_CONTACT "NEW_CONTACT"
NEW_ATTACHMENT "NEW_ATTACHMENT"
EMAIL_OPENED "EMAIL_OPENED"
EMAIL_READ "EMAIL_READ"
DELIVERY_STATUS "DELIVERY_STATUS"
BOUNCE "BOUNCE"
BOUNCE_RECIPIENT "BOUNCE_RECIPIENT"
NEW_SMS "NEW_SMS"

Enum: ResultTypeEnum

Name Value
BAD_RESPONSE "BAD_RESPONSE"
EXCEPTION "EXCEPTION"
SUCCESS "SUCCESS"