Skip to main content
GET
https://sendazi.com/api/v1
/
all-sender-ids
List Approved Sender IDs
curl --request GET \
  --url https://sendazi.com/api/v1/all-sender-ids
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://sendazi.com/api/v1/all-sender-ids",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
import requests

url = "https://sendazi.com/api/v1/all-sender-ids"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://sendazi.com/api/v1/all-sender-ids', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
HttpResponse<String> response = Unirest.get("https://sendazi.com/api/v1/all-sender-ids")
.asString();
const url = 'https://sendazi.com/api/v1/all-sender-ids';
const options = {method: 'GET'};

fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));
require 'uri'
require 'net/http'

url = URI("https://sendazi.com/api/v1/all-sender-ids")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
{
  "success": true,
  "data": [
    "MYCOMPANY",
    "ALERTS",
    "PROMO"
  ]
}
This endpoint returns a simple array of sender ID names—perfect for populating dropdowns and select fields in your application.
{
  "success": true,
  "data": [
    "MYCOMPANY",
    "ALERTS",
    "PROMO"
  ]
}

Use Cases

  • Populating a sender ID dropdown in your UI
  • Quick validation of available sender IDs
  • Building campaign creation forms
For detailed sender ID information (status, purpose, dates), use the List Sender IDs endpoint instead.