Files

Upload files securely for use in automation workflows.

Upload File

post
/files

Create a secure file upload target with detailed upload instructions. Returns a presigned URL and form fields for direct S3 upload.

Authorizations
x-api-keystringRequired
Body
agent_idstring · min: 1 · max: 26Optional

The ID of the agent in which this file will be used; may be omitted if the API token is scoped to an agent (rather than the organization).

Example: b4fznghynbdemslfd5k044fgdPattern: ^[a-zA-Z0-9-_]+$
file_namestring · min: 1 · max: 256Required

The name of the file to be uploaded.

Example: test-file.pdf
Responses
post
/files

Last updated

Was this helpful?