Skip to navigation

Incoming chat webhook Example

View as Markdown

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_idstringRequired
message_fromstringRequired
message_textstringRequired
message_typestringRequired
profile_namestringRequired
profile_wa_idstringRequired
referral_source_typestringRequired
referral_source_domainstringRequired