Documentation Index
Fetch the complete documentation index at: https://docs.pinkfish.ai/llms.txt
Use this file to discover all available pages before exploring further.
What can you do with it?
Call workflow triggers via API to execute workflows programmatically. Supports both synchronous (wait for results) and asynchronous (fire-and-forget) execution modes.How to use it?
Basic Command Structure
Parameters
- url: The trigger endpoint URL (required)
- api key: Your API authentication key (required)
- payload: JSON data to send to the trigger
- wait (optional): Wait for completion (true) or fire-and-forget (false)
- headers (optional): Additional custom headers
File Attachments
API triggers support file attachments usingmultipart/form-data. When using the trigger-call command, you can include file attachments in your request. Attachments are stored in S3 and made available to your workflow via signed URLs in the inputs.
Limits:
- Maximum 25MB per file
- Maximum 100MB total across all attachments
- Maximum 20 files per request
- Executable files and scripts are blocked for security
Response Format
With wait=true: Returns complete execution results including all step outputs and logs. With wait=false: Returns immediately with run ID in headers.Examples
Basic Usage
Simple trigger call:Advanced Usage
Synchronous call with custom data:Specific Use Case
Fire-and-forget notification:Notes
- Run ID is available in X-Pf-Run-Id header
- Synchronous calls return detailed step results
- Asynchronous calls return immediately with no body
- Look for selectedResult in response for configured output
- Step results include logs and execution times

