Skip to main content

File Attachments

Send images, documents, audio, and other files as WhatsApp messages.

Workflow

Sending a file is a two-step process:
1

Upload the file

Upload to TimelinesAI and get a file_uid
2

Send with the file_uid

Include file_uid when sending your message

Uploading files

Option 1: Upload from URL

If your file is publicly accessible:
Response:

Option 2: Upload file directly

For local files, use multipart form data:

Sending files

Once uploaded, use the file_uid to send:

File with text

Supported file types

Managing uploaded files

List files

Get file details

Delete file

Next steps

Send messages

More messaging options

Webhooks

Get notified of incoming files