Stage a bulk job input batch

Upload a batch of contact or company records to a DATA_UPLOAD job. The job must be in AWAITING_INPUT. Use a unique batchKey to identify each batch.

Supported input formats include:

  • CSV: text/csv
  • JSON: application/json
  • JSON Lines: application/jsonl
  • URI Reference: application/vnd.zi.bulk.uri+json

Multiple batches can be uploaded to the same job and are combined in batch key order.

Retry behavior: Uploading the same batch key with identical content is safe. Using the same key with different content returns 409 Conflict. The uploaded record format must match the job's declared input format.

Next step: Upload any remaining batches, then start the job.

Path Params
string
required

Job identifier.

string
required

Client-supplied batch key; the batch resource id and its position in the dataset (batches concatenate in key order). Must be URL-safe.

Body Params

One input batch. For record bytes the Content-Type must match the job's declared input.format: text/csv, application/json, or application/jsonl. Alternatively application/vnd.zi.bulk.uri+json stages a {"uri":"..."} reference the service fetches (the referenced content must still be in the job's declared format). A record Content-Type that disagrees with the job's format is rejected with 422.

Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/vnd.api+json