Skip to main content
Create a webhook subscription and return its signing secret once

Authorizations

acornops_cp_session
string
cookie
required

Path Parameters

workspaceId
string<uuid>
required
Example:

"4b930d98-add9-4924-ab26-3c16d96ec373"

Body

application/json
name
string
required
Example:

"PagerDuty webhook"

url
string<uri>
required
Example:

"https://example.com/acornops/webhook"

eventTypes
string[]
required
targetId
string<uuid> | null
Example:

"5b006e4c-509c-458a-9f02-5aafbdc01ade"

enabled
boolean
default:true

Response

Webhook subscription created. Response includes secret once.

Webhook subscription response. Includes signing secret once.

id
string<uuid>
required
workspaceId
string<uuid>
required
url
string<uri>
required
eventTypes
string[]
required
enabled
boolean
required
targetId
string<uuid>
createdAt
string<date-time>
updatedAt
string<date-time>