Upload an automation action parameter attachment
Automations
Upload an automation action parameter attachment
Upload a file as the attachment for an automation action parameter (e.g. a template body or import file). Replaces any existing attachment.
POST
Upload an automation action parameter attachment
Binary Upload
This endpoint uses binary upload (not JSON:API). Send the file contents as the raw request body.Required Headers
| Header | Description | Example |
|---|---|---|
Content-Disposition | Filename of the upload | attachment; filename="body.html" |
Content-Type | MIME type of the file | text/html |
cURL Example
Authorizations
OAuth 2.0 authentication. Use the client credentials or authorization code flow to obtain an access token.
The subdomain/tenant name identifying which tenant's data to access. Required for all API requests.
Path Parameters
The unique identifier of the automation action parameter
Body
application/octet-stream
The file contents
Response
Attachment uploaded successfully

