Get sample file info

Get the S3 URL and metadata (name, size, mime type) for the sample file attached to a file-header configuration. The {id} path segment is the file-header id.

Auth

  • Account bearer. The owning campaign must belong to the caller's person.company_id and be of type automation, else 403.

Rate limit

  • No rate limit.

Path params

FieldTypeRequiredNotes
fileHeaderIdintegerRequiredThe file-header id (route constrained to [0-9]+).

Behaviour

  • 200 with data.data = { file_path (S3 URL), file_name, file_size (bytes), file_type (mime) }.
  • 403 if the caller does not own the config's campaign or is not an automation campaign.
  • 404 if the file-header row is missing, or its sample_file_path no longer exists on S3.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json