Get Call Statuses
curl --request GET \
--url https://api.lemlist.com/api/call-statuses \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.lemlist.com/api/call-statuses"
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/call-statuses', 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/call-statuses")
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/call-statuses",
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;
}{
"success": true,
"data": [
{
"key": "no-answer",
"label": "No answer",
"callAnswered": false,
"callPositive": false,
"callNegative": false,
"pausesCampaigns": false
},
{
"key": "connected-positive",
"label": "Connected positive",
"callAnswered": true,
"callPositive": false,
"callNegative": false,
"pausesCampaigns": false
},
{
"key": "demo-booked",
"label": "Demo booked",
"callAnswered": true,
"callPositive": true,
"callNegative": false,
"pausesCampaigns": true
}
]
}{
"error": "Unauthorized"
}{
"error": "Route bad method"
}{
"success": false,
"error": {
"code": "INTERNAL_ERROR",
"message": "Internal error"
}
}Calls
Get Call Statuses
Lists the team’s call statuses (dispositions), the keys a logged call takes as callStatus.
GET
/
call-statuses
Get Call Statuses
curl --request GET \
--url https://api.lemlist.com/api/call-statuses \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.lemlist.com/api/call-statuses"
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/call-statuses', 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/call-statuses")
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/call-statuses",
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;
}{
"success": true,
"data": [
{
"key": "no-answer",
"label": "No answer",
"callAnswered": false,
"callPositive": false,
"callNegative": false,
"pausesCampaigns": false
},
{
"key": "connected-positive",
"label": "Connected positive",
"callAnswered": true,
"callPositive": false,
"callNegative": false,
"pausesCampaigns": false
},
{
"key": "demo-booked",
"label": "Demo booked",
"callAnswered": true,
"callPositive": true,
"callNegative": false,
"pausesCampaigns": true
}
]
}{
"error": "Unauthorized"
}{
"error": "Route bad method"
}{
"success": false,
"error": {
"code": "INTERNAL_ERROR",
"message": "Internal error"
}
}The team’s statuses are lemlist’s defaults plus the ones the team added in Settings → Calls. Each one carries what the team configured it to do: count as answered, mark the lead as interested or not interested, pause campaigns. Pick the key when logging a call so the same automations run as when a rep picks the status in the dialer.
Was this page helpful?