Skip to content

Create a new webhook

POST
/webhooks

Create a new webhook for the current workspace

Request Body required

object
data
object
type
string
webhooks
attributes
object
events
Array<string>
[
"milestone.created",
"task.created"
]
url
string
https://example.com/webhook

Responses

200

Webhook created successfully

object
data
object
type
string
id
string
attributes
object
events
Array<string>
[
"milestone.created",
"task.created"
]
url
string
https://example.com/webhook
lastEventDate

An integer representing milliseconds since the Unix epoch

integer format: int64
eventCount
integer
42
createdDate

An integer representing milliseconds since the Unix epoch

integer format: int64
createdBy
string
user1234user1234
status
string
ACTIVE

400

Invalid request