put
https://production-api.shoutaboutus.com/api/v1/campaign/automate/file-headers/
Update an existing file-header configuration. Here the {id} path segment is the file-header id (campaign_automation_file_headers.id). The endpoint updates only the fields supplied; a new sample_file replaces and deletes the previous S3 object. Sent as multipart/form-data. Emits an audit event (CAMPAIGN_FILE_HEADERS_UPDATED).
Auth
- Account bearer. The owning campaign must belong to the caller's
person.company_idand be of typeautomation, else403.
Rate limit
- No rate limit.
Path params
| Field | Type | Required | Notes |
|---|---|---|---|
fileHeaderId | integer | Required | The file-header id (route constrained to [0-9]+). |
Body (multipart/form-data — all optional)
| Field | Type | Required | Notes |
|---|---|---|---|
headers | string (JSON) | Optional | `nullable |
sample_file | file | Optional | mimes:xlsx,xls,csv, max 10 MB. |
location_identifier | string | Optional | Max 255. |
Behaviour
200with the refreshed row underdata.data.400ifheadersis provided but malformed / missing keys / non-string values.403if the caller does not own the config's campaign or is not an automation campaign.404if no file-header row matches{id}.
Errors: 422 on validation failure.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
