Skip to main content
POST
Upload an image

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
file
file
required

One JPG, PNG, WebP, HEIC, or HEIF image, up to 10 MB.

Response

The image was stored and is ready to reference from another API request.

url
string<uri>
required

Durable LocalAds-owned URL to place in an image_urls array.

content_type
enum<string>
required
Available options:
image/jpeg,
image/png,
image/webp
width
integer
required
Required range: x >= 1
height
integer
required
Required range: x >= 1
size_bytes
integer
required
Required range: x >= 1
Last modified on August 26, 2026