Whatsapp

Learn how to use Whatsapp with Composio

Overview

Enum

WHATSAPP

Description

Enables interaction with customers through the WhatsApp Business API for messaging and automation.

Authentication Details

base_url
stringDefaults to https://graph.facebook.com/v22.0
auth_token
stringRequired
phone_number_id
stringRequired

Actions

Send contacts whatsapp number. note: the message will be delivered to the recipient only if they have initiated a conversation first.

Action Parameters

contacts
arrayRequired
to_number
stringRequired

Action Response

data
object
error
successful
boolean

Send a location message to a whatsapp number. note: the location will be shared with the recipient only if they have texted first.

Action Parameters

address
stringRequired
latitude
stringRequired
longitude
stringRequired
name
stringRequired
to_number
stringRequired

Action Response

data
object
error
successful
boolean

Send a media message to a whatsapp number. note: the media will be delivered to the recipient only if they have texted first.

Action Parameters

caption
string
link
stringRequired
media_type
stringRequired
to_number
stringRequired

Action Response

data
object
error
successful
boolean

Send a text message to a whatsapp number. note: the message will reflect on the recipient’s phone number only if they have texted first.

Action Parameters

message_id
string
preview_url
boolean
text
stringRequired
to_number
stringRequired

Action Response

data
object
error
successful
boolean

Send a template message to a whatsapp number.

Action Parameters

language_code
stringDefaults to en_US
template_name
stringRequired
to_number
stringRequired

Action Response

data
object
error
successful
boolean