Notification
Create notification channel
Create a new delivery channel for receiving platform event notifications.
POST
Body
Channel type:
webhook or email.For more information, see Webhooks and Email notifications.Event types to subscribe to.
Channel description. Maximum 255 characters.
Whether the channel is active. Default:
true.Webhook endpoint URL. Must use HTTPS. Required when
channel_type is webhook.Signing secret for verifying incoming webhook requests. Must be between24 and 75 bytes (24 to 75 ASCII characters). Applies when
channel_type is webhook.Use this secret to verify incoming webhook requests. If you do not provide a secret, you cannot use secret-based verification for incoming webhook requests.The secret is write-only and is not returned by the API after creation. To change it later, use the update channel endpoint instead.
Email delivery configuration. Required when
channel_type is email.Response
Unique identifier for the channel.
Channel type:
webhook or email.Subscribed event types.
Whether the channel is active.
ISO 8601 timestamp when the channel was created.
ISO 8601 timestamp when the channel was last updated.
Channel description.
Webhook endpoint URL. Present when
channel_type is webhook.Email delivery configuration. Present when
channel_type is email.
