Webhooks API
Get Webhooks
Auction examples
- Running auctions
- Sponsored listings
- Sponsored banners
- Sponsored brands
Asset examples
Webhook examples
Events
Audience API
Billing API
Campaign API
- GETGet Campaigns
- POSTCreate Campaign
- GETGet Campaign By Id
- DELDelete Campaign By Id
- PATCHUpdate Campaign By Id
- GETGet Campaign Bids
- POSTCreate Campaign Bids
- DELDelete Campaign Bid By Id
- PATCHUpdate Campaign Bid By Id
- POST[BETA] Get estimated clicks of a future campaign for a given vendor
- GETGet Products In Campaign
- GETGet Sponsored Products
Catalog API
Invitation API
Modal API
Reporting API
Assets API
Audience API
Billing API
Campaign API
- GETGet Campaigns
- POSTCreate Campaign
- GETGet Campaign By Id
- DELDelete Campaign By Id
- PATCHUpdate Campaign By Id
- GETGet Campaign Bids
- POSTCreate Campaign Bids
- DELDelete Campaign Bid By Id
- PATCHUpdate Campaign Bid By Id
- POST[BETA] Get estimated clicks of a future campaign for a given vendor
- GETGet Products In Campaign
- GETGet Sponsored Products
Catalog API
Invitation API
Modal API
Reporting API
Toppie API
Webhooks API
Get Webhooks
Returns all webhooks.
GET
/
public
/
v1
/
webhooks
/
webhooks
curl --request GET \
--url https://api.topsort.com/public/v1/webhooks/webhooks
{
"hasMore": true,
"nextPage": "SSBzb2xlbW5seSBzd2VhciB0aGF0IEkgYW0gdXAgdG8gbm8gZ29vZAo=",
"webhooks": [
{
"channel": "campaign:create",
"id": "<string>",
"marketplaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"secret": "<string>",
"url": "<string>"
}
]
}
Query Parameters
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.
Required range:
1 < x < 100
Response
200
application/json
Successful 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
The channel that triggers this webhook.
Available options:
campaign:create
, campaign:update
, campaign:delete
Id of the webhook.
The marketplace ID.
Webhook secret to be used in signature generation.
The URL to send the webhook event to.
Required string length:
1 - 2083
Pagination cursor. Provide this value as a next_page
query parameter in a new request to retrieve the next page of results.
Minimum length:
1
curl --request GET \
--url https://api.topsort.com/public/v1/webhooks/webhooks
{
"hasMore": true,
"nextPage": "SSBzb2xlbW5seSBzd2VhciB0aGF0IEkgYW0gdXAgdG8gbm8gZ29vZAo=",
"webhooks": [
{
"channel": "campaign:create",
"id": "<string>",
"marketplaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"secret": "<string>",
"url": "<string>"
}
]
}