Whatsapp

Learn how to use Whatsapp with Composio

Overview

SLUG

WHATSAPP

Description

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

Authentication Details

full
stringDefaults to https://graph.facebook.com/v22.0
bearer_token
stringRequired
generic_id
stringRequired

Tools

SLUG: WHATSAPP_SEND_CONTACTS

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
objectRequired
error
string
successful
booleanRequired

SLUG: WHATSAPP_SEND_LOCATION

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
objectRequired
error
string
successful
booleanRequired

SLUG: WHATSAPP_SEND_MEDIA

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
objectRequired
error
string
successful
booleanRequired

SLUG: WHATSAPP_SEND_MESSAGE

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
objectRequired
error
string
successful
booleanRequired

SLUG: WHATSAPP_SEND_TEMPLATE_MESSAGE

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
objectRequired
error
string
successful
booleanRequired