Skip to page content

Common API conventions

At a glance

Summary
Implicit contract of endpoints exposed by the platform and third-party integrations.
Objective
Align integrations on predictable patterns (HTTP codes, JSON envelopes).
Who this page is for
Backend developers & integrators.
Prerequisites
REST, JSON, HTTP codes.

Versioning

URL prefix or Accept-Version header depending on the endpoint — always indicated in the endpoint sheet.

Errors

Homogeneous JSON envelope: error.code, error.message, optional error.details[].

Endpoint table (example)

MethodPathRole
GET/api/v1/healthLiveness probe
POST/api/v1/eventsEvent ingestion
GET/api/v1/exports/:idSigned download
Error response
{
  "error": {
    "code": "VALIDATION_FAILED",
    "message": "Required field missing",
    "details": [{ "field": "email", "issue": "required" }]
  }
}

Last updated: · Version 1.0 · Complianz team

Contribution: suggest an edit via your usual channel (partner / client).