GetNotificationPolicyWebhooksListResult

data class GetNotificationPolicyWebhooksListResult(val createdAt: String, val id: String, val lastFailure: String, val lastSuccess: String, val name: String, val secret: String, val type: String, val url: String)

Constructors

Link copied to clipboard
constructor(createdAt: String, id: String, lastFailure: String, lastSuccess: String, name: String, secret: String, type: String, url: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Timestamp of when the webhook destination was created.

Link copied to clipboard
val id: String

The unique identifier of a webhook

Link copied to clipboard

Timestamp of the last time an attempt to dispatch a notification to this webhook failed.

Link copied to clipboard

Timestamp of the last time Cloudflare was able to successfully dispatch a notification using this webhook.

Link copied to clipboard

The name of the webhook destination. This will be included in the request body when you receive a webhook notification.

Link copied to clipboard

Optional secret that will be passed in the cf-webhook-auth header when dispatching generic webhook notifications or formatted for supported destinations. Secrets are not returned in any API response body.

Link copied to clipboard

Type of webhook endpoint. Available values: "slack", "generic", "gchat".

Link copied to clipboard
val url: String

The POST endpoint to call when dispatching a notification.