Incoming message-text
Last updated
Last updated
This webhook sends incoming message as and when user send a text message When user gives a reply to a previous message then context will be provided.
Method: POST
Parameters:
This webhook send incoming message as and when user send a media message. Media message can be 3 type -
Image
Audio
Video
When user gives a reply to a previous message then context will be provided.
Method: POST
Parameters:
This webhook send incoming message as and when user send a location.
Location data will contain lat and long.
When user gives a reply to a previous message then context will be provided.
Method: POST
Parameters:
Parameter
Description
Data Type
ncmessage_id
ncmessage_id is unique id which is given when you send any message via PUSH api.
String
message_id
Unique message id
String
received_at
The time of status. The time when the message is received
Date - Time
mesage_type
The type of message will be “text”
String
text
Text message from user.
String
from
The user mobile number
number
Parameter
Description
Data Type
ncmessage_id
ncmessage_id is unique id which is given when you send any message via PUSH api.
String
message_id
Unique message id
String
received_at
The time of status. The time when the message is received
Date - Time
mesage_type
The type of message will be -
IMAGE
VIDEO
DOCUMENT
String
id
This will be media id. You can get the media from Media API.
String
caption
This will contain the caption of file name
String
from
The user mobile number
number
Parameter
Description
Data Type
ncmessage_id
ncmessage_id is unique id which is given when you send any message via PUSH api.
String
message_id
Unique message id
String
received_at
The time of status. The time when the message is received
Date - Time
mesage_type
The type of message will be “location”
String
latitude
The latitude of location
String
longitude
The longitude of location
String
from
The user mobile number
number