POST/v1/postflows/{id}/items/files

Announce a file of items for a Postflow

A signed link to put an NDJSON file (one single create's body per line) or a CSV file (the single create's names flattened with dots as headers: recipient.name, variables.firstName, externalId; see the Postflow's template) of up to 250 MB, valid for an hour. PUT the file to the link with the headers given, then start it with POST /v1/postflows/{id}/items/files/start.

Scope items.writeRate limit class upload

Path parameters

idstringrequired

Body

formatenumrequired
ndjsoncsv
fileNamestringrequiredmin length 1max length 200
sizeBytesintegerrequiredmin 1max 262144000

Returns

4 fields of the 201 answer
uploadIdstringrequired
formatenumrequired
ndjsoncsv
uploadobjectrequired
3 fields
urlstringrequired
methodstringrequired
headersobjectrequired
expiresAtstringrequired

Responses

201Success
401Authentication required or API key invalid
403Permission or scope missing, organisation suspended
404Not found
422Validation failed
429Rate limited for this API key and class; wait Retry-After seconds
otherError (RFC 9457 problem details)