Developer reference

WinBench API v1

Read authorized WinBench workspace resources with a credential issued by a workspace admin. The credential determines the tenant, workspace, and scopes for every request.

Get started

A workspace owner or admin creates a key in workspace integration settings and grants only the needed scopes. The key is shown once. Keep it in a server-side secret manager and send it in the Authorization header.

curl --fail-with-body -H "Authorization: Bearer $WINBENCH_API_KEY" \
  https://app.winbench.io/api/public/v1/whoami

API reads do not import provider data, create accounts or buyers, populate vectors, or start internal WinBench AI generation. Lead creation, Surface triggering, and Make generation are not public v1 operations.

Available operations

Base URL: https://app.winbench.io. Each operation requires its listed scope in the bearer credential.

GET/api/public/v1/whoami

Read credential-bound workspace identity

Required scope: workspace:read

Responses
  • 200 — Successful authorized read.
  • 401 — Missing, invalid, expired, or revoked API credential.
  • 403 — Credential lacks the required scope.
  • 429 — Per-minute credential quota exceeded.
  • 503 — Credential or resource service unavailable.
GET/api/public/v1/leads

List target-contact projections

Required scope: leads:read

Query parameters

  • limit (optional)
  • after (optional) — Use page.nextAfter from the previous response; null ends pagination.
Responses
  • 200 — Successful authorized read.
  • 400 — Invalid query or cursor.
  • 401 — Missing, invalid, expired, or revoked API credential.
  • 403 — Credential lacks the required scope.
  • 429 — Per-minute credential quota exceeded.
  • 503 — Credential or resource service unavailable.
GET/api/public/v1/surfaces

List final published saved-output previews

Required scope: surfaces:read

Query parameters

  • limit (optional)
  • after (optional) — Use page.nextAfter from the previous response; null ends pagination.
Responses
  • 200 — Successful authorized read.
  • 400 — Invalid query or cursor.
  • 401 — Missing, invalid, expired, or revoked API credential.
  • 403 — Credential lacks the required scope.
  • 429 — Per-minute credential quota exceeded.
  • 503 — Credential or resource service unavailable.
GET/api/public/v1/dna

Read Product and approved GTM context

Required scope: dna:read

Responses
  • 200 — Successful authorized read.
  • 401 — Missing, invalid, expired, or revoked API credential.
  • 403 — Credential lacks the required scope.
  • 429 — Per-minute credential quota exceeded.
  • 503 — Credential or resource service unavailable.
GET/api/public/v1/analytics/buyer-progress

Read daily buyer-progress analytics

Required scope: analytics:read

Query parameters

  • from (required)
  • to (required) — Inclusive window of at most 366 calendar days.
  • personaId (optional)
  • actorProfileId (optional)
Responses
  • 200 — Successful authorized read.
  • 400 — Invalid query or cursor.
  • 401 — Missing, invalid, expired, or revoked API credential.
  • 403 — Credential lacks the required scope.
  • 429 — Per-minute credential quota exceeded.
  • 503 — Credential or resource service unavailable.
GET/api/public/v1/make/runs

List generation-run metadata

Required scope: make:read

Query parameters

  • limit (optional)
  • after (optional) — Use page.nextAfter from the previous response; null ends pagination.
Responses
  • 200 — Successful authorized read.
  • 400 — Invalid query or cursor.
  • 401 — Missing, invalid, expired, or revoked API credential.
  • 403 — Credential lacks the required scope.
  • 429 — Per-minute credential quota exceeded.
  • 503 — Credential or resource service unavailable.

Pagination and limits

List responses include page.nextAfter. Pass that UUID as the next request's after value; null ends the list. An unknown or stale cursor returns HTTP 400. Lead reads accept 1–100 records per page (default 50). Surface and Make-run reads accept 1–80 (default 40).

Successful authorized responses include X-RateLimit-Limit and X-RateLimit-Remaining. On HTTP 429, wait for the Retry-After seconds before retrying. HTTP 401 means the key is invalid, expired or revoked; HTTP 403 means it lacks the required scope.