Documentation menu

Quickstart

Your first call in under two minutes. One URL, one optional header, a real JSON response.

1. Get a key (optional today)

The catalog API is currently unauthenticated: it answers whether or not you send a key. Create one anyway at API keys on app.lefthook.com — it is the same account as this site, so signing in there also signs you in here. Then export it:

export LEFTHOOK_KEY="<your key>"

Why send a key that is not checked

Because the gate exists in the route code and is switched off, not removed. Code that already sends x-api-key keeps working the day it is turned on; code that does not will start getting 401s with no warning. Authentication explains exactly what is enforced today.

2. Make the call

Base URL: https://admin.lefthook.com/api/public. The x-api-version header is optional — omit it for latest.

curl "https://admin.lefthook.com/api/public/search?q=hubspot&limit=3" \
  -H "x-api-key: $LEFTHOOK_KEY" \
  -H "x-api-version: 2026-12-01"   # optional — omit for latest

All three snippets were run against production; the response below is what came back.

meta.total is 14 for this query; meta.returned is 3 because limit was 3.

3. Paginate and filter

List routes take page and pageSize (1–100, default 20) and answer the same envelope: data, meta{page, pageSize, total, totalPages, hasNextPage} and links{self, next, last}.

curl "https://admin.lefthook.com/api/public/platforms?pageSize=1&page=1" \
  -H "x-api-version: 2026-12-01"   # optional

pageSize=1 against /platforms, run on 1 December 2026.

limit is search-only

/search takes limit; every other list route ignores it and returns the default 20 rows. Use pageSize. This trips up most first integrations because the parameter is accepted silently.

Recipe: who integrates with X

There is no single endpoint for this. The catalog path is two calls: resolve the platform, then list its children.

# 1. resolve the slug
curl "https://admin.lefthook.com/api/public/search?q=google&types=platforms&limit=3"

# 2. list what lives inside it
curl "https://admin.lefthook.com/api/public/platforms/google/children"

Run for real: google has four children — google-workspace, google-cloud-platform, google-maps, google-analytics.

Children are platforms inside a platform, which is not the same question as “who lists this product”. For listing relationships — and the gaps in them — use the Market Graph instead.

4. Errors

StatusWhen
400/search without q; a malformed or unsupported x-api-version
401Reserved for the catalog gate — not returned today
404Unknown slug

Every error is { error, message }; a version 400 adds supported. See Errors for the exact bodies.

Next

  • Guides — versions, pagination, snapshots, recipes.
  • API reference — every route, parameter and response shape.
  • For agents — llms.txt, the OpenAPI spec and the 30-tool MCP server.