Skip to main content

File Endpoint

Send file to workflows from a POST API call.

Pre-requisite

A Workflow with a File endpoint function node.

Configuration

See platform reference: How to configure File endpoint

Copy endpoint url directly from your workflow editor page

Usage

Call given url from your own http client.

file (form file)REQUIRED
File you are will to send.
Authorization (header)

If private workflow: Configured access key. Cf: How to handle Authentication.

X-ZPARSE-IO-ATTR (header)

Optional header you can use to provide additional context to your call.

X-ZPARSE-IO-AUTH (header)

Optional header you can use to check extra security.


Example using Curl:
curl https://api.zparse.io/workflow/e/f/xxx/yyy  -H 'Authorization: {ACCESS_KEY}' \
-H 'X-ZPARSE-IO-ATTR: {CUSTOM_ATTR}' \
-H 'X-ZPARSE-IO-AUTH: {CUSTOM_AUTH}' \
-XPOST -F "file=@/path/to/your/file.ext"

Response

Response is dependent on which responder your have wired on your function.