Sending Document Messages

Learn how to send document files (PDF, Word, Excel, PowerPoint) to your customers via WhatsApp using the CEQUENS API. Includes supported formats, best practices, and examples.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
🚧

API token

Please refer to this page to fine the API Token: https://developer.cequens.com/reference/whatsapp-business-ver2

📘

Supported Document Formats

  • PDF: .pdf
  • Word: .doc, .docx
  • Excel: .xls, .xlsx
  • PowerPoint: .ppt, .pptx
  • Text: .txt

Maximum file size: 100 MB

❗️

Sending Messages Outside the 24-Hour Messaging Window

Regular text messages and media messages (i.e., any non-template messages) can only be delivered within 24 hours of the customer's last message to your business.

If the business sends a message outside this 24-hour window, an error will be returned by the API.

Message templates are not subject to this restriction and should be used for reaching customers outside the 24-hour window.

📘

Best Practices

  • Always specify a descriptive filename to help recipients identify the document
  • Use captions to provide context about the document content
  • Ensure document URLs are publicly accessible before sending
  • Keep file sizes under 100 MB
  • PDF format is recommended for maximum compatibility across devices
Body Params
string
required
Defaults to 123456789

Recipient's phone number

string
required
Defaults to document

Must be set to "document"

string
required
Defaults to individual
document
object
required

Document object containing either id or link

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/csv
application/json