Extend Webhook Life

PUT {{baseUrl}}/rest/api/3/webhook/refresh

Webhooks registered through the REST API expire after 30 days. Call this resource periodically to keep them alive.

Unrecognized webhook IDs (nonexistent or belonging to other apps) are ignored.

Permissions required: Only Connect apps can use this operation.

Request Body

{"webhookIds"=>["<long>", "<long>"]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;expirationDate&quot;:&quot;2019-06-01T12:42:30.000+0000&quot;}