Webhooks
Roll the signing secret; the old one keeps signing for 24 hours
Needs the webhooks:write scope. About scopes
keyheader
AuthorizationBearer <traki_account_…>id*stringFormat
uuidSuccess
application/json- response
endpoint*secret*stringcurl -X POST 'https://api.traki.io/v1/account/webhooks/497f6eca-6276-4993-bfeb-53cbbbba6f08/roll-secret' \ -H "Authorization: Bearer $TRAKI_KEY"Example Response
{ "endpoint": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "code": "string", "ownerType": "WORKSPACE", "owner": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "url": "string", "events": [ "string" ], "state": "ACTIVE", "failureCount": -9007199254740991, "lastDeliveryAt": "2019-08-24T14:15:22Z", "lastFailureNote": "string", "createdAt": "2019-08-24T14:15:22Z" }, "secret": "string"}