List WhatsApp senders
curl --request GET \
--url https://api.lehar.ai/ca/api/v0/whatsapp/senders \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.lehar.ai/ca/api/v0/whatsapp/senders"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.lehar.ai/ca/api/v0/whatsapp/senders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.lehar.ai/ca/api/v0/whatsapp/senders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.lehar.ai/ca/api/v0/whatsapp/senders"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.lehar.ai/ca/api/v0/whatsapp/senders")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lehar.ai/ca/api/v0/whatsapp/senders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "wsnd_01HZY3K9M2QJ4R7V8T0N5B6C7D",
"sender": "919812345678",
"display_name": "Acme Support",
"phone_number_id": "1234567890",
"waba_id": "9876543210",
"status": "active",
"quality_rating": "GREEN",
"messaging_tier": "TIER_1K",
"provider": "trustsignal",
"metadata": {},
"created_at": "2026-09-01T10:15:00Z",
"updated_at": "2026-09-01T10:15:00Z"
}
],
"pagination": {
"limit": 20,
"offset": 0,
"total": 1
},
"default_sender": "912200001989"
}{
"error": {
"code": "invalid_request",
"message": "limit and offset must be non-negative integers"
}
}{
"error": {
"code": "unauthorized",
"message": "Authentication required"
}
}{
"error": {
"code": "forbidden",
"message": "Scope 'whatsapp_numbers:read' is required"
}
}{
"error": {
"code": "not_found",
"message": "Customer not found"
}
}WhatsApp Numbers
List WhatsApp senders
Lists the workspace’s WhatsApp business sender numbers (BYON inventory) with pagination and an optional status filter. The response also carries default_sender, the platform-default TrustSignal sender a campaign falls back to when none is bound (null if not configured). Scope whatsapp_numbers:read.
GET
/
whatsapp
/
senders
List WhatsApp senders
curl --request GET \
--url https://api.lehar.ai/ca/api/v0/whatsapp/senders \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.lehar.ai/ca/api/v0/whatsapp/senders"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.lehar.ai/ca/api/v0/whatsapp/senders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.lehar.ai/ca/api/v0/whatsapp/senders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.lehar.ai/ca/api/v0/whatsapp/senders"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.lehar.ai/ca/api/v0/whatsapp/senders")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lehar.ai/ca/api/v0/whatsapp/senders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "wsnd_01HZY3K9M2QJ4R7V8T0N5B6C7D",
"sender": "919812345678",
"display_name": "Acme Support",
"phone_number_id": "1234567890",
"waba_id": "9876543210",
"status": "active",
"quality_rating": "GREEN",
"messaging_tier": "TIER_1K",
"provider": "trustsignal",
"metadata": {},
"created_at": "2026-09-01T10:15:00Z",
"updated_at": "2026-09-01T10:15:00Z"
}
],
"pagination": {
"limit": 20,
"offset": 0,
"total": 1
},
"default_sender": "912200001989"
}{
"error": {
"code": "invalid_request",
"message": "limit and offset must be non-negative integers"
}
}{
"error": {
"code": "unauthorized",
"message": "Authentication required"
}
}{
"error": {
"code": "forbidden",
"message": "Scope 'whatsapp_numbers:read' is required"
}
}{
"error": {
"code": "not_found",
"message": "Customer not found"
}
}Authorizations
ApiKeyAuthBearerAuth
Query Parameters
Maximum rows to return (clamped to 100).
Required range:
0 <= x <= 100Number of rows to skip.
Required range:
x >= 0Filter senders by lifecycle status.
Available options:
pending_signup, provisioning, active, flagged, failed, archived 
