Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.pinkfish.ai/llms.txt

Use this file to discover all available pages before exploring further.

Server path: /whatsapp | Type: Application | PCID required: Yes

Tools

ToolDescription
whatsapp_create_message_templateCreate a new message template
whatsapp_delete_message_templateDelete a message template
whatsapp_deregister_phone_numberDeregister a phone number from WhatsApp Cloud API
whatsapp_get_business_accountGet WhatsApp Business Account details
whatsapp_get_message_templateGet a message template by ID
whatsapp_get_phone_numberGet phone number details
whatsapp_list_message_templatesList message templates for a WhatsApp Business Account
whatsapp_list_phone_numbersList phone numbers for a WhatsApp Business Account
whatsapp_register_phone_numberRegister a phone number for WhatsApp
whatsapp_send_messageSend a WhatsApp message
whatsapp_update_message_templateUpdate a message template

whatsapp_create_message_template

Create a new message template Parameters:
ParameterTypeRequiredDefaultDescription
waba_idstringYesThe WhatsApp Business Account ID
categorystringYesTemplate category
componentsobject[]YesTemplate components defining the message structure
languagestringYesTemplate language code (e.g. en_US, es, pt_BR)
namestringYesTemplate name (lowercase letters, numbers, and underscores only)

whatsapp_delete_message_template

Delete a message template Parameters:
ParameterTypeRequiredDefaultDescription
waba_idstringYesThe WhatsApp Business Account ID
namestringYesThe name of the template to delete
hsm_idstringNoThe template ID (hsm_id) to delete a specific language variant

whatsapp_deregister_phone_number

Deregister a phone number from WhatsApp Cloud API Parameters:
ParameterTypeRequiredDefaultDescription
phone_number_idstringYesThe phone number ID to deregister

whatsapp_get_business_account

Get WhatsApp Business Account details Parameters:
ParameterTypeRequiredDefaultDescription
waba_idstringYesThe WhatsApp Business Account ID
fieldsstringNoComma-separated list of fields to return (e.g. id,name,currency,timezone_id,status)

whatsapp_get_message_template

Get a message template by ID Parameters:
ParameterTypeRequiredDefaultDescription
template_idstringYesThe template ID
fieldsstringNoComma-separated list of fields to return

whatsapp_get_phone_number

Get phone number details Parameters:
ParameterTypeRequiredDefaultDescription
phone_number_idstringYesThe phone number ID
fieldsstringNoComma-separated list of fields to return

whatsapp_list_message_templates

List message templates for a WhatsApp Business Account Parameters:
ParameterTypeRequiredDefaultDescription
waba_idstringYesThe WhatsApp Business Account ID
namestringNoFilter templates by name
limitintegerNoNumber of results per page

whatsapp_list_phone_numbers

List phone numbers for a WhatsApp Business Account Parameters:
ParameterTypeRequiredDefaultDescription
waba_idstringYesThe WhatsApp Business Account ID
fieldsstringNoComma-separated list of fields to return (e.g. id,display_phone_number,verified_name,status,quality_rating)
limitintegerNoNumber of results per page (1-100)
afterstringNoPagination cursor for next page

whatsapp_register_phone_number

Register a phone number for WhatsApp Parameters:
ParameterTypeRequiredDefaultDescription
phone_number_idstringYesThe phone number ID to register
messaging_productstringNoMust be ‘whatsapp’
pinstringNo6-digit PIN for two-step verification

whatsapp_send_message

Send a WhatsApp message Parameters:
ParameterTypeRequiredDefaultDescription
phone_number_idstringYesThe ID of the sending phone number
audioobjectNoAudio message content. Required when type is ‘audio’.
contextobjectNoFor reply messages, contains the ID of the message being replied to
documentobjectNoDocument message content. Required when type is ‘document’.
imageobjectNoImage message content. Required when type is ‘image’.
messaging_productstringYesMessaging service used. Must be ‘whatsapp’.
reactionobjectNoReaction message content. Required when type is ‘reaction’.
recipient_typestringNoRecipient type. Use ‘individual’ to send to a single phone number.
templateobjectNoTemplate message content. Required when type is ‘template’.
textobjectNoText message content. Required when type is ‘text’.
tostringYesRecipient’s phone number in E.164 format (e.g. +14155552671) for individuals, or group ID for groups
typestringYesType of message to send
videoobjectNoVideo message content. Required when type is ‘video’.

whatsapp_update_message_template

Update a message template Parameters:
ParameterTypeRequiredDefaultDescription
template_idstringYesThe template ID to update
categorystringNoNew template category
componentsobject[]NoUpdated template components
languagestringNoTemplate language code
namestringNoNew template name