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 creates a pairing code for a WhatsApp session using the WARest WhatsApp REST API. It is useful for establishing a new session by pairing a phone number with an existing session ID, enabling communication through WhatsApp programmatically. For example, it can be used to automate the process of linking a phone to a WhatsApp session in an integration workflow.
Use Case Examples
- Automate pairing a phone number to a WhatsApp session by providing the session ID and phone number to generate a pairing code.
- Use in workflows that require dynamic session management and pairing for WhatsApp messaging automation.
Properties
| Name | Meaning |
|---|---|
| Session ID | Identifier of the WhatsApp session to use for creating the pair code. Can be selected from a list or entered manually. |
| Pairing Phone | Digits-only phone number including country code used for pairing the session. |
Output
JSON
json- Response JSON object containing the pairing code and related session information.
Dependencies
- Requires an API key credential for the WARest WhatsApp REST API and the base URL of the API server.
Troubleshooting
- Ensure the session ID provided is valid and corresponds to an active session in the WARest system.
- The phone number must be digits-only and include the country code; invalid formats will cause errors.
- API connectivity issues or invalid credentials will prevent the operation from succeeding.
Links
- WARest WhatsApp REST API - Official repository and documentation for the WARest WhatsApp REST API used by this node.
