Description
This endpoint allows requesting a pairing code as alternative method of authentication, without the need to scan the QR Code. The received code must be entered in the WhatsApp app to establish the connection.URL Parameters
Unique ID of the session to be authenticated
Body
Body Parameters
Property | Type | Required | Description |
---|---|---|---|
phone | string | ✅ Yes | Phone number for which the pairing code will be requested |
Response
Pairing code generated. This code must be entered in the WhatsApp app to complete authentication.
Status Codes
200
- Code generated successfully400
- Invalid parameters (ex: invalid phone number)401
- Unauthorized
Usage Example
Authorizations
Your Wappfy API key (get it at dash.wappfy.com.br)
Path Parameters
The session name (instanceName) you want to authenticate