Create an event destination
Creates a new event destination (e.g. a webhook endpoint) to receive platform events.
Request body
Display name for the event destination.
Destination type. Defaults to webhook if omitted. Send the matching configuration object under a property whose name equals this value (for example, when type is aws_sqs, include an aws_sqs object).
Event types to subscribe to (for example task_run.completed, credential.verified). Use ["*"] to subscribe to all event types; * cannot be combined with specific types, and the list must not be empty.
Response
Created
Unique identifier for the event destination, prefixed with evtd_.
Always event_destination.
Display name for the event destination.
Destination status: pending_verification, active, or inactive.
Destination type. The endpoint configuration is returned under a property whose name equals this value (for example, a webhook destination returns a webhook object).
Event types this destination is subscribed to.
ISO 8601 timestamp of when the resource was created.
ISO 8601 timestamp of when the resource was last updated.
Unique identifier for the API request. Include this when contacting support.
Configuration returned for a hookdeck destination (credentials are never returned).