POST
Run an export rule
Request · Response · Guide: Export rules
Only this rule runs, so a file goes to this rule’s integration only. A file the rule does not cover (another folder, contact or file type, or a more specific rule for the same integration) is SKIPPED with the reason. A file already exported is exported again.

Authorizations

x-api-key
string
header
required

API key for authentication

Headers

Idempotency-Key
string
required

Required opaque key (max 255 chars, UUIDv4 recommended) making this request idempotent for 24h: a retry with the same key and body replays the original response with Idempotent-Replayed: true. Omitting it is a 400; reusing a key with a different body is a 422; retrying while the first request is still in flight is a 409.

Path Parameters

ruleId
string
required

Export rule id.

Body

application/json
fileIds
string[]
required

Files to export with this rule (1 to 100). Repeated ids count once.

Example:

Response

The export is queued.

job_id
string
required
Example:

"job_01J9ZK3V6Q8W"

status
enum<string>
required
Available options:
queued
Example:

"queued"

created_at
string<date-time>
required
poll_url
string<uri-reference>
required

URL of GET /v1/jobs/{job_id}.