Skip to main content
POST
Subscribe to an event source

Authorizations

Authorization
string
header
required

API key passed as Bearer token

Path Parameters

sourceID
string
required

Body

application/json
target_id
string
required
target_type
string
required
enabled
boolean
filter_expr
any

Response

OK

created_at
string<date-time>
required
enabled
boolean
required
id
string
required
source_id
string
required
target_id
string
required
target_type
string
required
$schema
string<uri>
read-only

A URL to the JSON Schema for this object.

Example:

"https://api.strait.dev/schemas/EventSubscription.json"

filter_expr
any