HOC SiteDocumentation

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

Upload a file by fetching an allowlisted CDN URL (max 5 GB)

Method: POST · Auth: bearer · Group: files

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

Upload a file by fetching an allowlisted CDN URL (max 5 GB)

Request

  • Content-Type: application/json
{ "url": "https://…", "filename"?: "string", "directoryId"?: "uuid", "mimeType"?: "string" }

MCP tools