Skip to main content
POST
/
api
/
v1
/
whatsapp
/
receive
cURL
curl --request POST \
  --url https://dev-chat-engine.actualize.ae/api/v1/whatsapp/receive \
  --header 'Content-Type: application/json' \
  --data '
{
  "SmsMessageSid": "SMe998c2d1b3333d1bf33f92d50fbac361",
  "NumMedia": "0",
  "ProfileName": "Mohit",
  "MessageType": "text",
  "SmsSid": "SMe998c2d1b3333d1bf33f92d50fbac361",
  "WaId": "4915218139014",
  "SmsStatus": "received",
  "Body": "hi",
  "To": "whatsapp:+14155238886",
  "NumSegments": "1",
  "ReferralNumMedia": "0",
  "MessageSid": "SMe998c2d1b3333d1bf33f92d50fbac361",
  "AccountSid": "AC54a69f9a048bf53c55e545dcc333e03f",
  "From": "whatsapp:+4915218139014",
  "ApiVersion": "2010-04-01"
}
'

Body

application/json
Body
string
required

Message body

Example:

"hi"

To
string
required

Recipient phone number

Example:

"whatsapp:+14155238886"

MessageSid
string
required

Message SID

Example:

"SMe998c2d1b3333d1bf33f92d50fbac361"

AccountSid
string
required

Twilio Account SID

Example:

"AC54a69f9a048bf53c55e545dcc333e03f"

From
string
required

Sender phone number

Example:

"whatsapp:+4915218139014"

SmsMessageSid
string

SMS Message SID from Twilio

Example:

"SMe998c2d1b3333d1bf33f92d50fbac361"

NumMedia
string

Number of media attachments

Example:

"0"

ProfileName
string

Profile name of the sender

Example:

"Mohit"

MessageType
string

Type of message

Example:

"text"

SmsSid
string

SMS SID

Example:

"SMe998c2d1b3333d1bf33f92d50fbac361"

WaId
string

WhatsApp ID

Example:

"4915218139014"

SmsStatus
string

Status of the SMS

Example:

"received"

NumSegments
string

Number of message segments

Example:

"1"

ReferralNumMedia
string

Number of referral media

Example:

"0"

ApiVersion
string

API Version

Example:

"2010-04-01"