Actions29
- Chat Actions
- Contact Actions
- Group Actions
- Message Actions
- Status Actions
Status → Send Text Status
AI-generatedOverview
This node operation sends a text status message via the Green API WhatsApp service. It allows users to set a custom status message with support for emoji characters, specify the background color and font of the status text, and optionally restrict the visibility of the status to specific participants by providing their contact IDs. This operation is useful for broadcasting status updates or announcements to WhatsApp contacts or groups with customized styling.
Use Case Examples
- Sending a status message "I use Green-API to send this Status!" with a black background and serif font visible to all contacts.
- Sending a status message with a green background color and a specific font, visible only to a selected list of contacts.
Properties
| Name | Meaning |
|---|---|
| Message | The text content of the status message to be sent. Supports emoji characters and has a maximum length of 500 characters. |
| Background Color | The background color of the status message. Default is black (#000000). Users are advised not to use white as the background color. |
| Font | The font style used for the status text, applicable only to Latin letters. Options include BRYNDAN_WRITE, NORICAN_REGULAR, OSWALD_HEAVY, SANS_SERIF, and SERIF. |
| Participants | Comma-separated list of contact IDs for whom the status will be available. If left empty, the status will be visible to all contacts. |
| Override Credentials | Allows overriding the default API credentials (instance ID and API token) for this specific operation. |
Output
JSON
message- The sent status message textbackgroundColor- The background color used for the status messagefont- The font style used for the status messageparticipants- List of contact IDs for whom the status is visibleid- Identifier of the sent status messagetimestamp- Timestamp when the status was sent
Dependencies
- Green API service requiring instance ID and API token credentials
Troubleshooting
- Ensure the instance ID and API token credentials are correctly set and valid to avoid authentication errors.
- Verify that the message text does not exceed 500 characters to prevent message rejection.
- Avoid using white as the background color as it is not supported and may cause the status to not display correctly.
- If specifying participants, ensure the contact IDs are correctly formatted and exist in the WhatsApp contact list.