simtrunkDocs
Webhooks

Add or replace a webhook

Requires the scope `webhooks:write`.

POST
/v1/webhooks

Requires the scope webhooks:write.

Authorization

apiKey
headerAuthorizationBearer <token>

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

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 POST 'https://api.simtrunk.com/v1/webhooks' \  -H 'Content-Type: application/json' \  -d '{  "url": "http://example.com",  "topics": [    "string"  ]}'
{}

How is this guide?