Skip to Content
Developers
Webhooks

Pause an endpoint (events are kept)

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}/pause

Authorization

key
headerAuthorizationBearer <traki_account_…>

Path Parameters

id*string
Formatuuid

Response Body

Success

application/json
  1. response
id*string
Formatuuid
code*string
ownerType*string
Value in"WORKSPACE""SOURCE""BUYER"
owner*|null
url*string
events*array<string>
state*string
Value in"ACTIVE""FAILING""PAUSED"
failureCount*integer
Range-9007199254740991 <= value <= 9007199254740991
lastDeliveryAt*|null
lastFailureNote*string|null
createdAt*string
Formatdate-time
Example Request
curl -X POST 'https://api.traki.io/v1/account/webhooks/497f6eca-6276-4993-bfeb-53cbbbba6f08/pause' \  -H "Authorization: Bearer $TRAKI_KEY"
Example Response
{  "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"}