cURL
curl --request POST \ --url https://api.zapsterapi.com/v1/wa/instances/{instance_id}/pairing-code \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "phone_number": "<string>" }'
{ "pairing_code": "WVXCDFJ9" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID da instância.
Success
The response is of type object.
object