Skip to main content
POST
Create an event destination

Authorizations

Authorization
string
header
required

Sign in with the existing Occtoo Studio identity and selected organization.

Body

application/json

A new event destination.

name
null | string
required

Display name, 1 to 200 characters.

type
null | enum<string>
required

How events reach the destination. It cannot change later.

Available options:
Webhook,
AzureStorageQueue,
AzureServiceBus,
DurableConsumer
filter
null | string
required

Event filter in the filter language of the Events API. Every branch must name a type.

configuration
null | object

Settings of the type. A durable consumer takes none.

Response

Created

A created event destination.

eventDestination
object
required

The destination.

signingSecret
null | string
required

Webhook only: the secret that signs each request. It is shown once and cannot be read again.