Skip to content

This page is available as Markdown at https://developers.klaviyo.com/en/v2026-07-15/reference/upload_image_from_url.md. Its OpenAPI document is at https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/upload_image_from_url.json. An index of every page is at https://developers.klaviyo.com/llms.txt.

KlaviyoKlaviyoDevelopers
v2026-07-15

You're reading the reference for API revision 2026-07-15. The latest revision is 2026-10-15. See this page in the latest revision.

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: 2026-07-15required
Scopes
images:write
Rate limits
Burst: 3/sSteady: 100/mDaily: 100/d

Query parameters

  • fields[image]#string[]

    For more information please visit API overview

    Allowed values:
    • format
    • hidden
    • id
    • image_url
    • name
    • size
    • updated_at

Headers

  • revision#stringrequired

    API endpoint revision (format: YYYY-MM-DD[.suffix])

    2026-07-15

Request body

Content type: application/vnd.api+jsonrequired

  • data#objectrequired
    Show 2 fields
    • type#stringrequired
      Allowed values:
      • image
    • attributes#objectrequired
      Show 3 fields
      • name#stringnullable

        A name for the image. Defaults to the filename if not provided. If the name matches an existing image, a suffix will be added.

      • import_from_url#stringrequired

        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.

        Example: https://www.example.com/example.jpg

      • hidden#booleannullable

        If true, this image is not shown in the asset library.

        Default: false

Responses

201Success

Content type: application/vnd.api+json

  • data#objectrequired
    Show 4 fields
    • type#stringrequired
      Allowed values:
      • image
    • id#stringrequired

      The ID of the image

      Example: 7

    • attributes#objectrequired
      Show 6 fields
      • name#stringrequired
      • image_url#stringrequired
      • format#stringrequired
      • size#integerrequired
      • hidden#booleanrequired
      • updated_at#string<date-time>required

        Example: 2022-11-08T00:00:00+00:00

  • meta#object

    Response-level metadata

    Show 1 field
    • agent_hints#object

      Optional hints emitted by the API for agent callers

      Show 1 field
      • next_steps#string[]

        Suggested follow-up actions for agents to take after this response

4XXClient Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string

5XXServer Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string