Upload Image From URL
POSThttps://a.klaviyo.com/api/images
Import an image from a url or data uri.
If you want to upload an image from a file, use the Upload Image From File endpoint instead.
- Revision header
revision: 2025-01-15required- Scopes
images:write- Rate limits
- Burst:
3/sSteady:100/mDaily:100/d
Headers
API endpoint revision (format: YYYY-MM-DD[.suffix])
2025-01-15
Request body
Content type: application/vnd.api+jsonrequired
Show 2 fields
Show 3 fields
A name for the image. Defaults to the filename if not provided. If the name matches an existing image, a suffix will be added.
An existing image url to import the image from. Alternatively, you may specify a base-64 encoded data-uri (
data:image/...). Supported image formats: jpeg,png,gif. Maximum image size: 5MB.
Responses
201Success
Content type: application/vnd.api+json
4XXClient Error
Content type: application/vnd.api+json
5XXServer Error
Content type: application/vnd.api+json