Sign in

Attach batch XML

documented

Attach the XML describing the batch jobs to the batch (content-type: application/xml).

PUT /batches/{batchId}Batchingno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://batch.click2mail.com/v1/batches/{{$batchId}}" \
  -X PUT \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Accept: application/json" \
  -H "Content-Type: multipart/form-data" \
  -F "source={{$source}}" \
  -F "file=@{{$pdf_file_path}};type=application/pdf" \
Attach batch XML · Click2Mail · OpenIntegrations