Incoming chat webhook Example
Payload
-
profile_name(string) - The name of the profile. -
profile_wa_id(string) - The phone number associated with the profile. -
message_from(string) - The sender’s phone number. -
message_id(string) - The unique ID of the message. -
message_text(string) - The text of the message. -
message_type(string) - The type of message (e.g.,text,image, etc.). -
referral_source_domain(string) - Source ((e.g. instagram,facebook,whatsapp etc). -
referral_source_type(string) - The type of message source(e.g.,ad).
Note:
Process the payload and return a success 200 within expected Timeout.
(i) Any non-200 status will be considered as failure
(ii) No response within the expected timeout will be considered as a failure
Request
This endpoint expects an object.
message_id
message_from
message_text
message_type
profile_name
profile_wa_id
referral_source_type
referral_source_domain
