Description
This endpoint allows you to send a template message with optional media in the header. You can provide the media in two ways:- Media URL: Pass the media URL in
template_data.header.media.file. - Uploaded File: Send the media as a file instance using
multipart/form-datain the same field (template_data.header.media.file).
File Field Requirements
-
file:
- Required (when template has media header)
- Allowed types:
image,video,document - Maximum size: 16 MB (
max:16384KB)
Request Options
- Media URL Example (JSON):
- Uploaded File Example (multipart/form-data):
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
ID of the workspace.
Id of the contact.