Upload media by URL
ghl_upload_media_by_urlUpload a file from a publicly accessible URL to the GoHighLevel Media Library, allowing you to attach existing online deliverables or photos directly to your CRM without manual downloads.
Instructions
Add a file to the Media Library by referencing a publicly reachable URL (GHL fetches and hosts it). Good for deliverables or talent photos already available at a link. For raw binary uploads use the GHL UI.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name to store the file as. | |
| fileUrl | Yes | Publicly accessible URL of the file. | |
| locationId | No | GHL Location (sub-account) ID. Defaults to GHL_LOCATION_ID. |