curl --request GET \
--url https://{server-url}/instance/connect/{instance} \
--header 'apikey: <api-key>'
{
"pairingCode": "WZYEH1YY",
"code": "2@y8eK+bjtEjUWy9/FOM...",
"count": 1
}
curl --request GET \
--url https://{server-url}/instance/connect/{instance} \
--header 'apikey: <api-key>'
{
"pairingCode": "WZYEH1YY",
"code": "2@y8eK+bjtEjUWy9/FOM...",
"count": 1
}
Your authorization key header
Name of the instance to connect
Phone number (with country code) to be connected
Ok
The response is of type object
.