SuperdindaDocs
Channels

The open pairing

GET
/seats/{uid}/pairing

Authorization

Bearer
headerAuthorizationBearer <JWT>

Path Parameters

uid*string

seat uid

Formatuuid

Response Body

The pairing

application/json
  1. response
success*true
Value intrue
data*
Example Request
curl -X GET 'http://localhost:3000/seats/497f6eca-6276-4993-bfeb-53cbbbba6f08/pairing'
Example Response
{  "success": true,  "data": {    "uid": "string",    "channel": "whatsapp",    "status": "starting",    "method": "qr",    "challenge": {      "kind": "qr",      "image": "string",      "mime": "string",      "expiresAt": "2019-08-24T14:15:22Z"    },    "challengeShownTo": "guardian",    "identity": {      "phone": "string",      "pushName": "string",      "avatarUrl": "string"    },    "reconnectAttempts": 0,    "nextRetryAt": "2019-08-24T14:15:22Z",    "failureReason": "string",    "pairedAt": "2019-08-24T14:15:22Z",    "lastSeenAt": "2019-08-24T14:15:22Z",    "endedAt": "2019-08-24T14:15:22Z",    "createdAt": "2019-08-24T14:15:22Z"  }}