---
updatedAt: 2026-11-11T07:32:40.000Z
agentTools:
  projectIndex: https://docs.yotpo.com/llms.txt
---

# Import images

Use this endpoint to seamlessly import an array of up to eight images to Yotpo. You may also leverage this endpoint to build your own custom widget. To import more than three photos at a time, please contact Yotpo support.

> 📘 Note:
>
> You can import up to 20,000 image files at a time. If you need to import more, please contact your Yotpo representative.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Reviews API (V1)",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.yotpo.com",
      "description": "Main API server for authenticated and write operations"
    }
  ],
  "components": {
    "securitySchemes": {
      "X-Yotpo-Token": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Yotpo-Token",
        "description": "Your Yotpo account access token. See [Yotpo Authentication](ref:yotpo-authentication) to learn how to generate your token."
      }
    },
    "responses": {
      "Unauthorized": {
        "description": "Missing or invalid access token",
        "content": {
          "application/json": {
            "examples": {
              "Unauthorized": {
                "value": {
                  "status": {
                    "message": "You are not authorized to access this page.",
                    "code": 401,
                    "error_type": "Exceptions::AccessDenied"
                  }
                }
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "status": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "description": "Human-readable error message"
                    },
                    "code": {
                      "type": "integer",
                      "description": "HTTP status code"
                    },
                    "error_type": {
                      "type": "string",
                      "description": "Internal error class"
                    }
                  },
                  "description": "Error details."
                }
              }
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "X-Yotpo-Token": []
    }
  ],
  "paths": {
    "/v1/widget/{store_id}/images/create_batch": {
      "post": {
        "summary": "Import images",
        "description": "Use this endpoint to seamlessly import an array of up to eight images to Yotpo. You may also leverage this endpoint to build your own custom widget. To import more than three photos at a time, please contact Yotpo support.",
        "operationId": "import-images",
        "parameters": [
          {
            "name": "store_id",
            "in": "path",
            "description": "The store ID",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "images"
                ],
                "properties": {
                  "images": {
                    "type": "array",
                    "description": "Images to import.",
                    "items": {
                      "type": "object",
                      "required": [
                        "user_name",
                        "image_url"
                      ],
                      "properties": {
                        "user_name": {
                          "type": "string",
                          "description": "The name of the user who provided the image"
                        },
                        "user_email": {
                          "type": "string",
                          "description": "The email address of the reviewer who provided the image"
                        },
                        "tagged_products": {
                          "type": "array",
                          "description": "The unique product ID of the products to tag in this photo. Each image can accept a maximum of three product tags.",
                          "items": {
                            "type": "string"
                          }
                        },
                        "image_url": {
                          "type": "string",
                          "description": "The URL of the image you want to create"
                        },
                        "caption": {
                          "type": "string",
                          "description": "The image caption text"
                        },
                        "creation_date": {
                          "type": "string",
                          "description": "The date of album creation in ISO8601 format. **This cannot be a future date**",
                          "format": "date"
                        }
                      }
                    }
                  }
                }
              },
              "examples": {
                "Request Example": {
                  "value": {
                    "images": [
                      {
                        "user_name": "Joe User",
                        "user_email": "joe@example.com",
                        "tagged_products": [
                          "298686079",
                          "1"
                        ],
                        "image_url": "https://upload.storage.org/image_server/user_generated/d/dd/image.jpg",
                        "caption": "Big",
                        "creation_date": "2018-01-31"
                      },
                      {
                        "user_name": "Jane User",
                        "user_email": "jane@example.com",
                        "image_url": "https://upload.storage.org/image_server/user_generated/d/dd/image.jpg"
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            },
            "headers": {
              "ratelimit-limit": {
                "description": "The maximum number of requests allowed in the current time window",
                "schema": {
                  "type": "integer"
                }
              },
              "ratelimit-remaining": {
                "description": "The number of requests remaining in the current time window",
                "schema": {
                  "type": "integer"
                }
              },
              "ratelimit-reset": {
                "description": "The time (in seconds) until the rate limit resets",
                "schema": {
                  "type": "integer"
                }
              },
              "x-ratelimit-limit-minute": {
                "description": "The maximum number of requests allowed per minute",
                "schema": {
                  "type": "integer"
                }
              },
              "x-ratelimit-remaining-minute": {
                "description": "The number of requests remaining in the current minute",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "value": "application/json",
        "key": "Content-Type"
      }
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```