POST
/
public
/
v1
/
webhooks
/
webhooks
curl --request POST \
  --url https://api.topsort.com/public/v1/webhooks/webhooks \
  --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>"
}

Body

application/json

Response

201
application/json
Successful Response

The response is of type object.