Prerequisites
- A pipe with an HTTP trigger node in its pipeline
- An API key with trigger permissions
Endpoint
Authentication
Include your API key in theX-Api-Key header:
Request
Send the document asmultipart/form-data with the file in the file field.
cURL
JavaScript
C#
Python
Response
A successful request returns the trigger result with details about the created run.Error handling
Common errors:| Status | Cause |
|---|---|
401 | Missing or invalid API key |
400 | Unsupported file format or file exceeds size limit |
404 | Pipe not found or not active |
HTTP trigger configuration
The HTTP trigger node in your pipeline can be configured with:- Allowed origins: restrict which origins can submit files (CORS)
- Accepted formats: limit accepted file types
- Max size (MB): set a maximum file size