Send File to opened session via url

  • Status code 200 means the message was accepted by WATI, not delivered yet.
  • To know if a message is failed, listen to the Session Message Failed webhook.
  • To know if a message is sent successfully, listen to Delivered/Read/Reply webhooks.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

WhatsApp Number with country code (e.g. 85264318721), ContactId, or BSUID

string
required

Your WATI workspace (tenant) ID. This required path segment identifies the WATI account for legacy v1 and v2 API requests.

Query Params
string

Url of Image, Audio, Video or Document

string

(optional)

string

Channel phone number with country code. Example, 85264318722

boolean
Defaults to false

Set to true to send as a WhatsApp voice note (audio/ogg + voice=true). Default false.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Response

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