Package photos on the API are not base64 in the JSON.
You send HTTPS URLs. Kilo:
- Checks the hostname is on your allowlist.
- Resolves DNS and blocks private IPs (SSRF protection).
- Downloads the image (size + content-type limits).
- Stores it on the delivery like the public form would.
Configure
Dashboard → Settings → API & Webhooks → Allowed image hosts.
One hostname per line, for example:
cdn.yourbot.com
media.yourcompany.com
Subdomains of an allowed host are accepted (a.cdn.yourbot.com if cdn.yourbot.com is listed).
Checklist for AI / WhatsApp bots
- Host media on a domain you control (or a known CDN).
- Add that domain to the allowlist before creating deliveries.
- Use
https://only. - Keep each image under 5MB.