Skip to main content
GET
GET /v1/vendors returns your organization’s vendors, newest page first by whichever field you sort on. Every vendor your key’s organization owns is in scope, and no other organization’s vendor ever is. Each entry is a full vendor object.

Query parameters

integer
default:"1"
Which page to return, counting from 1.
integer
default:"25"
How many vendors to return per page, from 1 to 100. Asking for more than 100 is a 400 rather than a silently smaller page.
string
Return only vendors whose name contains this text, compared case-insensitively. It is a partial match, so cloud finds Cloudflare.
string
Return only vendors with this status. Repeat the parameter to accept several, as in ?status=active&status=onboarding.
string
Return only vendors of this type. Repeatable in the same way as status.
string
Return only vendors with this criticality. Repeatable in the same way as status.
string
default:"name"
Which field to sort on: name, createdAt or updatedAt. Sorting by name ignores case.
string
default:"asc"
asc or desc.
Filters combine with AND: ?status=active&criticality=high returns the vendors that are both. Repeated values of one filter combine with OR.

Response

object[]
required
This page of vendors, each one a vendor object. An empty array when nothing matches, which is a 200 and not a 404.
object
required
Vendors are added and removed while you page. Sorting is stable — two vendors sharing a name or a timestamp keep a fixed order — but a vendor created between two requests can still shift the pages under you. For a consistent snapshot, sort by createdAt and page quickly, or re-read page 1 when totalItems changes.

Errors