Skip to content

/v1 reference: Third parties

The operations of this resource. They share the pagination and error vocabulary described in Overview and Errors. Example values on this page are fictitious. The other operations are in the complete reference.

Operations

List third parties

GET /v1/vendors

The tenant's third-party inventory, newest first by default. Soft-deleted vendors are never returned.

Required scope: supply_risk:read

Parameters:

Parameter In Required Type Description
page query no integer 1-based page number. Defaults to 1.
per_page query no integer Items per page, 1..200. Defaults to 50.
sort query no enum(created_at, updated_at, name) Field to order by. One of: created_at, updated_at, name.
order query no enum(asc, desc) Sort direction. Defaults to desc.
q query no string Case-insensitive substring of the name or the domain.
category query no string Exact category match, as the tenant wrote it (case-sensitive). Category is free text with NO closed vocabulary, so there is no list of values to publish: read category from GET /v1/vendors. To filter by the kind of third party, read vendor_type (x-hs-known-values).
active query no string Filter by the operational flag.
business_criticality query no enum(low, medium, high, critical) Exact criticality match.
X-HS-Tenant header no string The tenant to read, as its id (a UUID, any case). REQUIRED with a portfolio key (hsp_…); with a tenant API key or an OAuth token, optional and accepted only when it equals the credential’s own tenant. Never a slug.

Example response (200, fictitious values):

{
  "data": [
    {
      "id": "11111111-1111-4111-8111-111111111111",
      "name": "Ejemplo Cloud Provider S.L.",
      "legal_name": "Ejemplo Cloud Provider Sociedad Limitada",
      "domain": "ejemplo-cloud.example",
      "category": "Infraestructura cloud",
      "vendor_type": "cloud",
      "access_level": "critical",
      "business_criticality": "critical",
      "risk_score": 72,
      "created_at": "2026-01-15T09:00:00Z",
      "updated_at": "2026-09-20T11:30:00Z"
    }
  ],
  "pagination": {
    "page": 1,
    "per_page": 50,
    "total": 213,
    "total_pages": 5
  }
}

Fetch one third party

GET /v1/vendors/{id}

The same object as the collection, for a single vendor by id.

Required scope: supply_risk:read

Parameters:

Parameter In Required Type Description
id path yes string Vendor identifier.
X-HS-Tenant header no string The tenant to read, as its id (a UUID, any case). REQUIRED with a portfolio key (hsp_…); with a tenant API key or an OAuth token, optional and accepted only when it equals the credential’s own tenant. Never a slug.

Example response (200, fictitious values):

{
  "data": {
    "id": "11111111-1111-4111-8111-111111111111",
    "name": "Ejemplo Cloud Provider S.L.",
    "legal_name": "Ejemplo Cloud Provider Sociedad Limitada",
    "domain": "ejemplo-cloud.example",
    "category": "Infraestructura cloud",
    "vendor_type": "cloud",
    "access_level": "critical",
    "business_criticality": "critical",
    "risk_score": 72,
    "created_at": "2026-01-15T09:00:00Z",
    "updated_at": "2026-09-20T11:30:00Z"
  }
}