post
https://production-api.shoutaboutus.com/api/v1/account/images/save
Upload one or more image files to S3 (under account/images/{type}) and creates an Image row per file for the company, returning the saved records with public S3 URLs. Sent as multipart/form-data.
Auth: Both — authentication. Target company must sit inside your own account tree, keyed on company_id: it must resolve into the authenticated user's company hierarchy. A Partner can target any company in its tree; an Account reaches only its own hierarchy.
Rate limit: No rate limit.
Request
- Body (multipart/form-data):
| Field | Type | Required | Notes |
|---|---|---|---|
company_id | integer | Yes | Must be an existing account and belong to the auth company hierarchy. |
type | string | Yes | One of partners, campaign. |
images | array (file[]) | Yes | One or more uploaded files. |
images.* | file | Yes | Each must be an image, mimes jpeg/png, max 2048 KB. |
status | string | No | Persisted as-is; controller defaults to active when you omit it (not validated). |
Response — { data. } envelope.
status(string) —success.message(string) —Logos saved successfully!.data(array) — one object per saved image:id(integer) — new image id.name(string) — sanitized original filename ([^\w.\-]replaced with_, truncated to 100 chars) plus guessed extension.type(string) — echoes requesttype.status(string) — requeststatusoractive.path(string) — full S3 URL of the stored file.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
