Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 1.62 KB

File metadata and controls

16 lines (11 loc) · 1.62 KB

CreateWebhookSettingsRequest

Properties

Name Type Description Notes
name String Webhook name (1-50 characters)
url String Webhook endpoint URL (must be a valid URL, whitespace trimmed)
secret Option<String> Secret key for HMAC-SHA256 signature verification [optional]
events Vec Events to subscribe to (at least one required) (enum: post.scheduled, post.published, post.failed, post.partial, post.cancelled, post.recycled, post.platform.published, post.platform.failed, post.external.created, post.external.updated, post.external.deleted, account.connected, account.disconnected, account.ads.initial_sync_completed, message.received, message.sent, message.edited, message.deleted, message.delivered, message.read, message.failed, reaction.received, comment.received, review.new, review.updated, ad.status_changed, whatsapp.template.status_updated, whatsapp.number.activated, whatsapp.number.declined, whatsapp.number.action_required, whatsapp.number.verification_required, whatsapp.number.suspended, whatsapp.number.reactivated, whatsapp.number.released, whatsapp.number.kyc_submitted)
is_active Option<bool> Enable or disable webhook delivery. Defaults to true when omitted. [optional][default to true]
custom_headers Option<std::collections::HashMap<String, String>> Custom headers to include in webhook requests [optional]

[Back to Model list] [Back to API list] [Back to README]