Skip to main content
POST
Send a message

Authorizations

Authorization
string
header
required

Your API key as a Bearer token: Authorization: Bearer tg_live_...

Path Parameters

id
string
required

Conversation ID

Body

application/json

Message to send

action
string

e.g. "unreact" to remove a reaction

caption
string

image / video / document

fileIds
string[]
filename
string

document only

mediaId
string

WhatsApp-uploaded media ID (alternative to URL)

mediaUrl
string

WhatsApp rich message fields

message
string
Maximum string length: 5000
reactionEmoji
string

reaction only

replyToMsgId
string

internal UUID or WAMID of message to react to

type
enum<string>
Available options:
text,
attachment,
audio,
system,
call_request,
contact_form,
image,
video,
document,
reaction,
location,
location_request,
template

Response

201 - application/json

Created

data
object
error
object
message
string
meta
object
success
boolean