Files
The Files API reserves the OpenAI-compatible upload route for reusable creative assets.
Upload from an image URL
Section titled “Upload from an image URL”POST /upload
The upload contract accepts a public image URL as JSON:
curl -X POST "https://api.withgrowl.com/v1/adm/upload" \ -H "Authorization: Bearer $ELO_ADS_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "image_url": "https://example.com/assets/workspace-planner-card.png" }'The route accepts HTTP and HTTPS image URLs. It rejects data URIs and binary uploads.
Until file storage is enabled, a valid URL request returns:
{ "error": { "message": "File uploads are not yet available", "type": "invalid_request_error", "param": null, "code": null }}Use creative.image_url when creating an ad today.