Files
Upload a file
Add a file your agents can send to customers.
POST
Upload File
A multipart form with
The file’s type is read from its contents, not from its name or the content type you declare.
A file whose real type cannot be delivered on WhatsApp is refused here, rather than stored and
found undeliverable later with a customer waiting. Call
File limits for the accepted list.
Every upload is scanned for malware before it is stored. A file that fails the scan is refused
and its contents are never kept.
file, plus an optional name and description. The name defaults to
the filename.
The label is generated for you: the filename slugified, plus a short random suffix —
Autumn Brochure 2026.pdf becomes autumn-brochure-2026_7bq2xk. It is unique in the workspace
and never changes, so a prompt pointing at it always resolves to the same bytes.
The response’s
label is the point. Paste it into an agent’s prompt — for example
When a customer asks for the brochure, send autumn-brochure_7bq2xk. — and that agent can
send that file. An agent can only send files its own prompt names.Authorizations
Response
Successful Response
Upload File