Actions51
- API Actions
- Chat Actions
- Contact Actions
- Group Actions
- Instance Actions
- Message Actions
- Message Queue Actions
- Product Actions
- Status Actions
Message → Send Text Message
AI-generatedSummary
Send a text message to a phone number via Z-API.
Inputs
- phone (required) — Recipient phone number (or group ID) in international format, digits only.
- message (required) — Text of the message to send.
- delayMessage — Delay in seconds before sending (1‑15); 0 uses API default.
Output shape
a single response object from the send-text endpoint
Contains the API's reply (e.g., message ID); may be empty or cause an error if the request fails.
Examples
Example 1: Send a quick alert to a client
Phone Number = 551199999999, Message = "Your order is shipped", Delay = 0
Example 2: Delayed announcement to a group
Phone Number = 551199999999, Message = "Reminder: meeting tomorrow", Delay = 5
Example 3: Reply to an incoming message
Phone Number = incoming chat ID, Message = "Got it, thanks", Message ID = D241..., Delay = 0