Get Sender Picture Status
curl --request GET \
--url https://api.lemlist.com/api/sender-picture/mailboxes \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.lemlist.com/api/sender-picture/mailboxes"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.lemlist.com/api/sender-picture/mailboxes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));require 'uri'
require 'net/http'
url = URI("https://api.lemlist.com/api/sender-picture/mailboxes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.lemlist.com/api/sender-picture/mailboxes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"data": {
"userId": "usr_Tn8Bv2Mc4Xz6Lq1Pw",
"hasPicture": true,
"mailboxes": [
{
"mailboxId": "dem_Xq7Lm2Pz9Rt4Vb8Nc",
"email": "john@example.com",
"provider": "google",
"status": "synced",
"syncedAt": "2026-09-28T14:05:00.000Z",
"lastError": null,
"hasOverride": false
},
{
"mailboxId": "dem_Hw3Jk6Ds1Fy5Gu0Ea",
"email": "john@acme.com",
"provider": "m365",
"status": "not-synced",
"syncedAt": null,
"lastError": null,
"hasOverride": false
}
],
"counts": {
"total": 2,
"synced": 1,
"notSynced": 1,
"queued": 0,
"syncing": 0,
"failed": 0,
"notSupported": 0
}
}
}
Sender picture
Get Sender Picture Status
Lists the mailboxes a user bought through lemlist in your team, with whether their lemlist profile picture has been pushed to each one.
GET
/
sender-picture
/
mailboxes
Get Sender Picture Status
curl --request GET \
--url https://api.lemlist.com/api/sender-picture/mailboxes \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.lemlist.com/api/sender-picture/mailboxes"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.lemlist.com/api/sender-picture/mailboxes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));require 'uri'
require 'net/http'
url = URI("https://api.lemlist.com/api/sender-picture/mailboxes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.lemlist.com/api/sender-picture/mailboxes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"data": {
"userId": "usr_Tn8Bv2Mc4Xz6Lq1Pw",
"hasPicture": true,
"mailboxes": [
{
"mailboxId": "dem_Xq7Lm2Pz9Rt4Vb8Nc",
"email": "john@example.com",
"provider": "google",
"status": "synced",
"syncedAt": "2026-09-28T14:05:00.000Z",
"lastError": null,
"hasOverride": false
},
{
"mailboxId": "dem_Hw3Jk6Ds1Fy5Gu0Ea",
"email": "john@acme.com",
"provider": "m365",
"status": "not-synced",
"syncedAt": null,
"lastError": null,
"hasOverride": false
}
],
"counts": {
"total": 2,
"synced": 1,
"notSynced": 1,
"queued": 0,
"syncing": 0,
"failed": 0,
"notSupported": 0
}
}
}
Omit
userId to read your own mailboxes. A teammate’s userId must belong to your team, otherwise the call answers 403 with the code SENDER_PICTURE_USER_NOT_IN_TEAM. Only active mailboxes assigned to that user in your team are listed.When hasPicture is false, the user has no lemlist profile picture: every sync is refused until they upload one in Settings > Account.This endpoint is in closed beta. It answers
403 with the code BETA_NOT_ENABLED unless the sender picture beta is enabled for your team.Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Query Parameters
A teammate whose mailboxes to read. Omit to read the mailboxes of the API key owner.
Response
Success
Show child attributes
Show child attributes
Was this page helpful?