PATCH
/
public
/
v1
/
webhooks
/
webhooks
/
{webhook-id}
curl --request PATCH \
  --url https://api.topsort.com/public/v1/webhooks/webhooks/{webhook-id} \
  --header 'Content-Type: application/json' \
  --data '{
  "channel": "campaign:create",
  "secret": "t948Lf__j1WNwcAxZpsz8Q",
  "url": "<string>"
}'
{
  "channel": "campaign:create",
  "id": "<string>",
  "marketplaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "secret": "<string>",
  "url": "<string>"
}

Path Parameters

webhook-id
string
required

Id of the webhook.

Body

application/json

Response

200
application/json
Successful Response

The response is of type object.