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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fileUrl": "<fileUrl>"
},
"name": "ghl_upload_media_by_url"
}
}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. |