Create an export
POST/v1/click/exports
Freezes the acceptances that match the filters and returns the export job. The rows are not copied: the job records which acceptances it covers, so a download reads exactly those, whenever you fetch it.
- Scope.
click:export, a standalone scope:click:admindoes not include it. - Window.
filters.fromandfilters.toare required, ISO 8601 with an offset, and at most 366 days apart. - Format.
csvorjsonl, one row per acceptance, with the same columns or keys either way. A row from a record made before evidence files existed saysevidenceFiles: not_exported_v1. - Signer filter.
filters.signerRefis an exact match and is never stored or returned: the job shows onlysignerRefFilter: true. - Restricted records are left out and counted in
restrictedExcluded, unless you passrestrictedAccesswith a reason and an id-only claim reference. - Evidence files.
includeEvidence: trueis a 400 for now. - Limits. A job that would be too large is a 422 and counts against the daily limit of creates. A limit reached is a 429 with
Retry-After. - Idempotency.
X-Idempotency-Keyis scoped to your OAuth client and the request body: the same key with the same body answers the stored job, and the same key with another body, or from another client, creates a new job. - Caching. Every response, errors included, is
Cache-Control: private, no-store.
Request
Responses
- 202
- 400
- 401
- 403
- 404
- 422
- 429
- 503
The job. Location is its URL. A replay of the same X-Idempotency-Key and body answers the stored body without Location.
Response Headers
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.
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>.
The URL of the job
CLICK_VALIDATION_FAILED for a missing or invalid filter, an unknown key (including q), a window over 366 days, free text in restrictedAccess, or includeEvidence: true
Response Headers
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.
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>.
The credentials are missing, invalid or expired (CLICK_UNAUTHORIZED).
Response Headers
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.
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>.
The token lacks the scope this operation needs, or the resource belongs to another organization (CLICK_FORBIDDEN), or your account does not include Click (ENTITLEMENT_REQUIRED, with requiredEntitlement).
Response Headers
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.
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>.
CLICK_NOT_FOUND: the template or version does not exist in your organization
Response Headers
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.
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>.
CLICK_EXPORT_TOO_LARGE: the export would exceed a row or byte limit. Narrow the window or the filters.
Response Headers
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.
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>.
CLICK_EXPORT_LIMIT_REACHED: a concurrent stream, daily create, daily download byte or per-file download limit was reached. Retry-After is the number of seconds to wait.
Response Headers
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.
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>.
Seconds to wait before trying again
A dependency is temporarily unavailable (CLICK_SERVICE_UNAVAILABLE, or a more specific code). Retry with backoff.
Response Headers
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.
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>.