simtrunkDocs
Webhooks

Add or replace a webhook

Requires the scope `webhooks:write`.

PUT
/v1/webhooks/{id}

Requires the scope webhooks:write.

Authorization

apiKey
headerAuthorizationBearer <token>

An API key, or an access token for one, through the API gateway.

Path Parameters

id*string

Request Body

application/json
  1. body
id?string
url*string
Formaturi
topics*array<string>

simtrunk. topics, or ["*"]

secret?string
disabled?boolean

Response Body

OK

application/json
  1. response
curl -X PUT 'https://api.simtrunk.com/v1/webhooks/string' \  -H 'Content-Type: application/json' \  -d '{  "url": "http://example.com",  "topics": [    "string"  ]}'
{}

How is this guide?