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.
What can you do with it?
The WhatsApp API allows you to integrate WhatsApp messaging into your applications. You can send text messages, share media files, use pre-approved templates, check message delivery status, and manage contacts through your WhatsApp Business account.How to use it?
Basic Command Structure
Parameters
Required:action- The action to perform (send_text, send_media, send_template, get_status, manage_contacts)to- Recipient phone number (for messaging actions)message_content- Content of the message to send
media_url- URL for media filescaption- Caption for media messagestemplate_name- Name of the template to uselanguage_code- Language code for templates
Tools
Send Text Message
Send a text message to a user’s WhatsApp number. Parameters:to(required) - Recipient phone numbermessage(required) - Text message content
Send Media Message
Send an image, document, or other media file to a user’s WhatsApp number. Parameters:to(required) - Recipient phone numbermedia_type(required) - Type of media (image, document, video, audio)media_url(required) - URL link to the media filecaption(optional) - Caption for the media
Send Template Message
Send a pre-approved template message to a user’s WhatsApp number. Parameters:to(required) - Recipient phone numbertemplate_name(required) - Name of the approved templatelanguage_code(required) - Language code (e.g., “en_US”)parameters(optional) - Template parameters if needed
Get Message Status
Check the delivery status of a previously sent message. Parameters:message_id(required) - ID of the message to check
Manage Contacts
Add or validate contacts in your WhatsApp business account. Parameters:phone_number(required) - Contact phone numberwhatsapp_id(optional) - WhatsApp ID if known

