Passer au contenu principal
GET
/
public
/
v1
/
offsite-ads
/
vendors
/
active
Get Active Vendors
curl --request GET \
  --url https://api.topsort.com/public/v1/offsite-ads/vendors/active \
  --header 'Authorization: Bearer <token>'
{
  "hasMore": true,
  "nextPage": "<string>",
  "vendors": [
    "<string>"
  ]
}

Autorisations

Authorization
string
header
requis

A valid API key generated in Topsort's UI.

Paramètres de requête

dsp
enum<string>
requis

The DSP to filter vendors by.

Options disponibles:
google_ads,
meta
Exemples:

"google_ads"

"meta"

next_page
string | null

Pagination cursor as provided in an earlier response. If provided will fetch the next page of results.

limit
integer
défaut:100

The pagination limit.

Plage requise: 0 <= x <= 365

Réponse

Successful Response

hasMore
boolean
requis

Whether there are more active vendors

nextPage
string | null
requis

The next page token

vendors
string[]
requis

The active vendor ids for the DSP