Green API icon

Green API

Send WhatsApp messages via Green API

Status → Send Voice Status

AI-generated

Overview

This node operation sends a voice status message via the Green API on WhatsApp. It allows users to share audio files as status updates, which can be made available to specific contacts or all contacts. This is useful for broadcasting voice messages or announcements to a selected audience on WhatsApp.

Use Case Examples

  1. Sending a voice status update with an MP3 file to all contacts.
  2. Sharing a voice status with a WAV file to a specific list of contacts.

Properties

Name Meaning
Background Color Sets the background color of the status message. Default is black (#000000). White background is not recommended.
File URL Direct URL link to the voice media file (e.g., .mp3 or .wav). This must be a direct link, not a download link.
File Name The name of the voice file including its extension (e.g., file.mp3 or file.wav).
Participants Comma-separated list of contact IDs who can view the status. If left empty, the status is available to all contacts.
Override Credentials Allows overriding the default API credentials (instance ID and API token) for this specific operation.

Output

JSON

  • messageId - ID of the sent voice status message
  • status - Status of the request (e.g., success or failure)
  • timestamp - Timestamp when the status was sent

Dependencies

  • Green API service with valid instance ID and API token credentials

Troubleshooting

  • Ensure the File URL is a direct link to the media file and accessible publicly.
  • Do not use a white background color as it is not supported.
  • Verify that the file name has a valid audio extension (.mp3 or .wav).
  • Check that the API credentials (instance ID and API token) are correct and have not expired.
  • If specifying participants, ensure the contact IDs are correctly formatted and valid.

Discussion