Skip to main content
POST
Create a webhook subscription

Authorizations

Authorization
string
header
required

API key passed as Bearer token

Body

application/json
event_types
string[] | null
required
project_id
string
required
secret
string
required
webhook_url
string
required
active
boolean

Response

OK

active
boolean
required
created_at
string<date-time>
required
event_types
string[] | null
required
id
string
required
project_id
string
required
webhook_url
string
required
$schema
string<uri>
read-only

A URL to the JSON Schema for this object.

Example:

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