Skip to Content
Developers
Webhooks

Roll the signing secret; the old one keeps signing for 24 hours

Needs the webhooks:write scope. About scopes

Try it with a test key

Sends to https://api.traki.io

Test keys only. The key stays in this page while it is open and is never saved.

/v1/account/webhooks/{id}/roll-secret

Authorization

key
headerAuthorizationBearer <traki_account_…>

Path Parameters

id*string
Formatuuid

Response Body

Success

application/json
  1. response
endpoint*
secret*string
Example Request
curl -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"}