Upload batch PDF
documentedUpload a PDF to associate with a batch (content-type: application/pdf).
PUT /batches/{batchId}Batchingno implementation yet0 runsNo 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" \