Skip to main content

Compare two template versions

GET 

/v1/click/templates/:templateId/versions/:versionAId/diff/:versionBId

Returns a structured field-level diff between two versions of the same template. Useful for review UIs surfacing what changed between drafts or between a draft and its published counterpart. Body changes are reported as line-level adds/removes; metadata changes are reported as key sets.

Request

Responses

Version diff

Response Headers
    X-Request-Id

    Correlation id for this request, returned on every response (success and error). Quote it when contacting support to pinpoint the exact request, and use it to correlate your own logs. It is the same 128-bit id as the trace-id segment of the traceparent header.

    traceparent

    W3C Trace Context identifier for this request, returned on every response. Send your own traceparent on a request to have it adopted, so a multi-call workflow shares one trace. Format: 00-<32-hex trace-id>-<16-hex span-id>-<2-hex flags>.