Actions15
- Message Actions
- Group Actions
- Contact Actions
- Device Actions
- Whatsapp Actions
- Campaign Actions
Group → Send Message
AI-generatedSummary
Send a message to a specified group or phone number using the Starsender API.
Inputs
- authHeaderName (required) — Header name to send the API key in (e.g., Authorization, X-API-KEY, or a custom name).
- authHeaderCustom — Custom header name to use if 'Other' is selected for Auth Header Name.
- to (required) — Destination phone number or group ID.
- body (required) — The content of the message to be sent.
- messageType (required) — Type of the message, either 'text' or 'media'.
- file — URL to the media file when sending a media message.
Output shape
no body — success/failure only
The operation returns a success or failure response from the Starsender API without any additional data.
Examples
Example 1: Sending a text message to a group
Set 'to' to the group ID, 'body' to the message content, and select 'text' for 'messageType'.
Example 2: Sending a media message
Set 'to' to the recipient number, 'file' to the media URL, and select 'media' for 'messageType'.