Skip to main content
GET
/
instances
/
{id}
/
session
/
paircode
/
{phone}
Generate phone pairing code
curl --request GET \
  --url https://api.vzaps.com/instances/{id}/session/paircode/{phone} \
  --header 'Authorization: Bearer <token>'
{
  "code": 200,
  "success": true,
  "data": {
    "LinkingCode": "9H3J-H3J8"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Identificador publico da instancia no formato gerado pela plataforma: prefixo VZ seguido de caracteres alfanumericos.

Example:

"VZ9K2M4N8P1Q3R5S7T0WABCD01EF"

phone
string
required

Phone number used to generate phone pairing code.

Response

200 - application/json

Pairing code

code
integer
required
success
boolean
required
data
object