Postbacks
Change a webhook’s URL or events, or pause and resume it
Needs the webhooks:write scope. About scopes
keyheader
AuthorizationBearer <traki_publisher_…>id*stringFormat
uuidapplication/json- body
url?stringFormat
uriLength
length <= 2048events?array<>Items
1 <= items <= 26state?stringValue in
"active""paused"Success
application/json- response
id*stringFormat
uuidcode*stringurl*stringevents*array<string>state*stringfailureCount*integerRange
-9007199254740991 <= value <= 9007199254740991lastDeliveryAt*string|nulllastFailureNote*string|nullcreatedAt*stringcurl -X PATCH 'https://api.traki.io/v1/publisher/webhooks/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H "Authorization: Bearer $TRAKI_KEY" \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "code": "string", "url": "string", "events": [ "string" ], "state": "string", "failureCount": -9007199254740991, "lastDeliveryAt": "string", "lastFailureNote": "string", "createdAt": "string"}