Actions3
- Message Actions
- Contact Actions
Message → Send Message
AI-generatedSummary
Send a text, audio, contact, document, image, or video message to a phone number or chat ID through the Whapi channel API.
Inputs
- Authentication (required) — Whapi Channel API access token credentials.
- Recipient (required) — Phone number or chat ID for the contact, group, or channel. Use Get groups to find a group ID.
- Message Type (required) — Choose text, audio, contact, document, image, or video.
- Typing Time — Seconds to simulate typing before sending, from 0 to 60; defaults to 0.
- Body — Message text. Shown for message types other than audio, document, image, and video.
- Media String — Media URL, ID of previously uploaded media, or base64 string. Shown for non-text message types.
- Caption — Media caption. Shown for contact, document, image, and video messages.
Output shape
A list of items containing the Whapi API response to the send request.
On request failure, the operation throws unless Continue On Fail is enabled; then it returns an item with an error field.