Whatsapp accounts
POST
/whatsapp-accounts/{id}/relink

A new QR code (or pairing code) for a number that was logged out, or for a link that expired. Its campaigns and chats carry on once it is linked again. Scanned by another phone than its own number, the link is undone.

Authorization

bearerAuth
AuthorizationBearer <token>

An API key created on the Access tokens page.

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/whatsapp-accounts/string/relink" \  -H "Content-Type: application/json" \  -d '{}'
{  "data": {    "id": "string",    "checkpoint": {      "type": "qr",      "qrImage": "string",      "code": "string",      "expiresAt": "2019-08-24T14:15:22Z"    }  }}