curl --request GET \
--url https://api.topsort.com/public/v1/webhooks/webhooks \
--header 'Authorization: Bearer <token>'{
"hasMore": true,
"webhooks": [
{
"id": "<string>",
"marketplaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>",
"channel": "campaign:create",
"secret": "<string>"
}
],
"nextPage": "SSBzb2xlbW5seSBzd2VhciB0aGF0IEkgYW0gdXAgdG8gbm8gZ29vZAo="
}Returns all webhooks.
curl --request GET \
--url https://api.topsort.com/public/v1/webhooks/webhooks \
--header 'Authorization: Bearer <token>'{
"hasMore": true,
"webhooks": [
{
"id": "<string>",
"marketplaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>",
"channel": "campaign:create",
"secret": "<string>"
}
],
"nextPage": "SSBzb2xlbW5seSBzd2VhciB0aGF0IEkgYW0gdXAgdG8gbm8gZ29vZAo="
}A valid API key generated in Topsort's UI.
Pagination cursor as provided in an earlier response. If provided will fetch the next page of results.
The maximum number of items to return per page.
1 <= x <= 100Successful Response
Flag that indicates whether more results are available. true indicates there is a next page of results. false indicates this response contains the last page of results.
List of webhooks
Show child attributes
Id of the webhook.
The marketplace ID.
The URL to send the webhook event to.
1 - 2083The channel that triggers this webhook.
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 Webhook secret to be used in signature generation.
Pagination cursor. Provide this value as a next_page query parameter in a new request to retrieve the next page of results.
1"SSBzb2xlbW5seSBzd2VhciB0aGF0IEkgYW0gdXAgdG8gbm8gZ29vZAo="
Was this page helpful?