Get sender QR code
curl --request GET \
--url https://api.pineyard.ai/whatsapp/senders/{id}/qr \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pineyard.ai/whatsapp/senders/{id}/qr', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pineyard.ai/whatsapp/senders/{id}/qr"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"qrCode": "<string>",
"status": "<string>"
}Senders
Get sender QR code
Latest QR code for a sender that is being linked by QR scan. qrCode is null when no code is pending.
GET
/
whatsapp
/
senders
/
{id}
/
qr
Get sender QR code
curl --request GET \
--url https://api.pineyard.ai/whatsapp/senders/{id}/qr \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pineyard.ai/whatsapp/senders/{id}/qr', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pineyard.ai/whatsapp/senders/{id}/qr"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"qrCode": "<string>",
"status": "<string>"
}
