Wasup icon

Wasup

Send WhatsApp messages and manage instances via the Wasup API

Connection → Connect

AI-generated

Summary

Starts linking a Wasup WhatsApp instance by POSTing to the instance's connect endpoint. Returns a QR-based link flow by default, or a pairing code when a phone number is supplied.

Inputs

  • instanceId (required) — The WhatsApp instance to connect. Pick from a searchable list of instances or enter the ID directly (e.g. wa_lxyz123_abc45).
  • pairingPhone — Phone number with country code and no + (e.g. 447393002183). If provided, it is sent in the request body and a pairing code is returned instead of a QR. If empty, it is omitted from the request.

Output shape

One JSON item per input item containing the API's response from POST /api/instances/{id}/connect.

The source does not define the response fields. Presumably they include QR or pairing-code details, but check the actual output. To fetch the QR image afterwards, use the Get QR / Pairing Code operation. Errors raise a node error, or are emitted as {error: message} items if Continue On Fail is enabled.

Examples

Example 1: Link a new instance by scanning a QR code

Resource: Connection, Operation: Connect, Instance: select from list, Pairing Phone left empty.

Example 2: Link an instance using a numeric pairing code

Resource: Connection, Operation: Connect, Instance: By ID, Pairing Phone: 447393002183.

Links

Discussion