Saltar al contenido principal
POST
Create Webhook

Autorizaciones

Authorization
string
header
requerido

A valid API key generated in Topsort's UI. Use the TSE API key if calling auctions or events API, otherwise use the TSC API key.

Cuerpo

application/json
url
string<uri>
requerido

The URL to send the webhook event to.

Required string length: 1 - 2083
channel
enum<string>
requerido

The channel that triggers this webhook.

Opciones disponibles:
campaign:create,
campaign:update,
campaign:delete,
catalog:feed:download:finish,
store:availability:download:finish,
catalog:feed:upload:late,
full:availability:upload:late,
delta:availability:upload:late
secret
string

Webhook secret to be used in signature generation. If missing, it'll be randomly generated.

Maximum string length: 32
Ejemplo:

"t948Lf__j1WNwcAxZpsz8Q"

Respuesta

Successful Response

id
string
requerido

Id of the webhook.

marketplaceId
string<uuid>
requerido

The marketplace ID.

url
string<uri>
requerido

The URL to send the webhook event to.

Required string length: 1 - 2083
channel
enum<string>
requerido

The channel that triggers this webhook.

Opciones disponibles:
campaign:create,
campaign:update,
campaign:delete,
catalog:feed:download:finish,
store:availability:download:finish,
catalog:feed:upload:late,
full:availability:upload:late,
delta:availability:upload:late
secret
string
requerido

Webhook secret to be used in signature generation.