Actions90
- Sessions Actions
- Messages - Sending Actions
- Chats Actions
- Messages - Actions Actions
- Groups Actions
- List Groups
- Group Info
- Get Invite Link
- Revoke Invite Link
- Join via Link
- Preview via Link
- Create Group
- Delete Group
- Update Group Description
- Toggle Announcement Mode
- List Participants
- Add Participants
- Remove Participants
- Demote Participants
- Approve Join Request
- Reject Join Request
- List Join Requests
- Get Group Picture
- Set Group Picture
- Delete Group Picture
- Leave Group
- Update Group Name
- Lock Group Edits
- Promote Participants
- Profile Actions
- Server Actions
- Miscellaneous Actions
Overview
This node operation validates a given JID (Jabber ID) within the WhatsApp context using the WARest WhatsApp REST API. It is useful for scenarios where you need to verify the correctness or existence of a JID before performing further actions such as messaging or group management. For example, it can be used to ensure that a user or group identifier is valid before sending a message or adding participants to a group.
Use Case Examples
- Validate a user JID before sending a message to ensure the recipient exists.
- Check the validity of a group JID before attempting to retrieve group information or manage participants.
Properties
| Name | Meaning |
|---|---|
| JID | The Jabber ID (JID) to validate, which uniquely identifies a WhatsApp user or group. |
| Additional Fields | Optional additional parameters for extended validation or context, such as country code or session ID for validation helpers. |
Output
JSON
jsonisValid- Boolean indicating if the JID is valid.details- Additional details or metadata about the validation result.
Dependencies
- Requires an API key credential for the WARest WhatsApp REST API and the base URL of the API server.
Troubleshooting
- If the node throws an error stating the operation is not implemented, ensure the resource is set to 'Miscellaneous' and the operation to 'Validate JID'.
- Errors related to authentication indicate missing or incorrect API credentials; verify the API key and base URL are correctly configured.
- Invalid or malformed JID input will result in validation failure; ensure the JID format is correct according to WhatsApp standards.
Links
- WARest API Validate JID - Official documentation for the Validate JID operation in the WARest WhatsApp REST API.
