Get Self-recovery Config
curl --request GET \
--url https://api.lemlist.com/api/self-recovery/config \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.lemlist.com/api/self-recovery/config"
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/self-recovery/config', 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/self-recovery/config")
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/self-recovery/config",
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;
}{
"config": {
"_id": "src_ExampleAcmeConfigId",
"teamId": "tea_ExampleAcmeTeamId",
"enabled": true,
"monitoredSignals": [
"bounceRate",
"blacklist"
],
"authorizedActions": [
"recover"
],
"digestFrequency": "daily",
"createdBy": "usr_ExampleAcmeUserId",
"createdAt": "2026-04-12T09:30:00.000Z",
"updatedAt": "2026-05-06T14:10:00.000Z"
}
}Self-recovery
Get Self-recovery Config
Retrieves your team’s self-recovery configuration — whether it is enabled, which signals are monitored, which actions are authorized, and how often the recovery digest is sent. config is null until the team saves its configuration for the first time.
GET
/
self-recovery
/
config
Get Self-recovery Config
curl --request GET \
--url https://api.lemlist.com/api/self-recovery/config \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.lemlist.com/api/self-recovery/config"
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/self-recovery/config', 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/self-recovery/config")
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/self-recovery/config",
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;
}{
"config": {
"_id": "src_ExampleAcmeConfigId",
"teamId": "tea_ExampleAcmeTeamId",
"enabled": true,
"monitoredSignals": [
"bounceRate",
"blacklist"
],
"authorizedActions": [
"recover"
],
"digestFrequency": "daily",
"createdBy": "usr_ExampleAcmeUserId",
"createdAt": "2026-04-12T09:30:00.000Z",
"updatedAt": "2026-05-06T14:10:00.000Z"
}
}Authorizations
Was this page helpful?