Base URL
All examples and the interactive playground target the nonprod environment:Conventions
- Auth -
Authorization: Bearer <org_... key>on the user, import, consent, XP and reward, recent events, module read and revenue endpoints. Key management (bothorg_keys andek_live_tracking keys), module authoring, installation, credential and module webhook-endpoint operations take a partner admin session token as the bearer instead; the reference marks each operation with the scheme it accepts. Some member reads and writes, such as consents, redemption and the XP reads, also take the member’s own session token; the reference lists it on those operations.POST /v1/trackandPOST /v1/content-interactionstake a publishableek_live_...tracking key as?key=or the bodykeyfield, andPOST /v1/ingesttakes anmk_live_...module credential. See Authentication. - Wire format - JSON with
snake_casefield names, except the tier, balance, XP earning and XP boost reads, which answer in camelCase. Timestamps are ISO 8601 with timezone; dates (likedob) are plainYYYY-MM-DDstrings. - Errors - one envelope everywhere:
{ "error": { "code", "status", "message", "details"? } }. Thecodeis stable;messagewording is not a contract. - Idempotency - endpoints that declare it accept an
Idempotency-Keyheader. Same key + same body → the original response is replayed. Same key + different body →409 IDEMPOTENCY_CONFLICT. - Async jobs - bulk import validation and commit run asynchronously:
the call returns
202 Acceptedand you poll the job resource for state.
Surfaces
“Endpoints tab” means the surface is in the generated reference. Everything else is documented on the page named.
The raw OpenAPI document is available at
/openapi/partner.json.