Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.38 KB

File metadata and controls

37 lines (25 loc) · 1.38 KB

CreateWebhookSettingsRequest

Properties

Name Type Description Notes
name String Webhook name (1-50 characters)
url URI Webhook endpoint URL (must be a valid URL, whitespace trimmed)
secret String Secret key for HMAC-SHA256 signature verification [optional]
events List<EventsEnum> Events to subscribe to (at least one required)
isActive Boolean Enable or disable webhook delivery. Defaults to `true` when omitted. [optional]
customHeaders Map<String, String> Custom headers to include in webhook requests [optional]

Enum: List<EventsEnum>

Name Value
POST_SCHEDULED "post.scheduled"
POST_PUBLISHED "post.published"
POST_FAILED "post.failed"
POST_PARTIAL "post.partial"
POST_CANCELLED "post.cancelled"
POST_RECYCLED "post.recycled"
ACCOUNT_CONNECTED "account.connected"
ACCOUNT_DISCONNECTED "account.disconnected"
MESSAGE_RECEIVED "message.received"
COMMENT_RECEIVED "comment.received"
REVIEW_NEW "review.new"
REVIEW_UPDATED "review.updated"