Register Dynamic Webhooks

POST {{baseUrl}}/rest/api/3/webhook

Registers webhooks.

Permissions required: Only Connect apps can use this operation.

Request Body

{"url"=>"<string>", "webhooks"=>[{"events"=>["<string>", "<string>"], "jqlFilter"=>"<string>"}, {"events"=>["<string>", "<string>"], "jqlFilter"=>"<string>"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;webhookRegistrationResult&quot;:[{&quot;createdWebhookId&quot;:1000},{&quot;errors&quot;:[&quot;The clause watchCount is unsupported&quot;]},{&quot;createdWebhookId&quot;:1001}]}