Actions83
- Instances Actions
- Client Actions
- Message Actions
- Chat Actions
- Contact Actions
- Number Actions
- Group Actions
- Channel Actions
- Label Actions
- Story Actions
Overview
This node operation, Request Pairing Code under the Client resource, is designed to request a pairing code for a specific client instance via their phone number. This is typically used in scenarios where you need to link or authenticate a client device or session by sending a pairing code to the client's phone number. For example, it can be used in applications that require two-factor authentication or device registration through SMS.
Properties
| Name | Meaning |
|---|---|
| Id | The unique identifier of the client instance for which the pairing code is requested. |
| Phone Number | The phone number in international format (without symbols) to which the pairing code will be sent. Example: 50664083362 |
| Show Notification | Boolean flag indicating whether to show a notification when the pairing code is received. |
Output
The node outputs JSON data containing the response from the API after requesting the pairing code. This typically includes confirmation details such as success status and any relevant messages about the pairing code request. There is no indication that binary data is output by this node.
Dependencies
- Requires an API key credential for authenticating with the WaAPI service.
- The node communicates with the external WaAPI API endpoint at
https://waapi.app/api/v1. - Proper configuration of the API credentials within n8n is necessary for successful requests.
Troubleshooting
- Common Issues:
- Invalid or missing API credentials will cause authentication failures.
- Incorrect phone number format may result in errors or failure to send the pairing code.
- Network connectivity issues can prevent communication with the WaAPI service.
- Error Messages:
- Authentication errors usually indicate invalid or expired API keys; verify and update credentials.
- Validation errors on the phone number suggest formatting issues; ensure the number is in international format without symbols.
- Timeout or connection errors imply network problems; check internet access and API availability.
Links and References
- WaAPI Official Documentation (for detailed API usage and pairing code process)
- n8n Documentation (for general guidance on using API nodes and credentials)