Polls WAHA for the session state and returns a fresh QR code while the number is unpaired. QR codes rotate every few seconds, so poll this while showing the code. The first call that observes a paired session records the phone number on the connected account and queues its backfill.
apiKeyAuth In: header
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuidapplication/json
application/json
application/json
application/json
application/json
curl -X GET "https://loading/api/v1/messaging/connect/whatsapp/497f6eca-6276-4993-bfeb-53cbbbba6f08"API key authentication. Create an API key in your user profile and include it in the x-api-key header.
{
"connectedAccountId": "ac03972a-5ca5-43c5-b96f-c519ac843b7a",
"status": "STOPPED",
"paired": true,
"phoneNumber": "string",
"displayName": "string",
"qrCodeDataUrl": "string",
"sessionNameIgnored": true
}"string""string""string""string"