CollectiveX Health Partner API — Developer Docs

Hand-written integration guide for the CollectiveX Health partner API (/v1/oura/* and future routes). Complements the auto-generated OpenAPI reference hosted at partnerdocs.collectivex.health.

Audience: engineers integrating their health-data product with the CollectiveX Health recommendation engine.

Start here

  1. Getting started — copy-paste cURL that returns HTTP 200. Do this first.
  2. Authentication — API key format, rotation, revocation.
  3. Request / response reference — full body contract, enum tables, response fields, suppression semantics.

When you hit a bug

  1. Errors — per-status walkthrough (400 / 401 / 403 / 422 / 429 / 502) with retry guidance.
  2. Idempotency — safe retries and the 5-minute cache.
  3. Rate limits — 30 req/min per key, exponential backoff with jitter.

Lifecycle

  1. Changelog — version history + Sunset deprecation policy.
  2. Support — contact, response times, severity ladder.

Contract highlights

The auto-generated reference

These hand-written docs cover the "why", the "when it goes wrong", and the semantic details the OpenAPI spec can't express. For the formal machine-readable schema (route list, request/response JSON Schema, status codes), see partnerdocs.collectivex.health/api. It is kept in sync with the live gateway config on every change.

If something in these docs contradicts the auto-generated reference, the auto-generated reference wins for schema shape — tell support so we can reconcile.