HOC SiteDocumentation

POST /api/v1/{locale}/{websiteId}/files/import-url

Fetch a public image, resize it, and store it in the library

Method: POST · Auth: bearer · Group: files

/api/v1/{locale}/{websiteId}/files/import-url

Fetch a public image, resize it, and store it in the library

Request

  • Content-Type: application/json
{ "url": "https://…", "maxWidth"?: number, "quality"?: number, "directoryId"?: "uuid" }

MCP tools