Skip to main content
GET
/
v1
/
alarms
List Alarms
curl --request GET \
  --url https://api.bland.ai/v1/alarms \
  --header 'authorization: <authorization>'
import requests

url = "https://api.bland.ai/v1/alarms"

headers = {"authorization": "<authorization>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {authorization: '<authorization>'}};

fetch('https://api.bland.ai/v1/alarms', 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.bland.ai/v1/alarms",
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: <authorization>"
],
]);

$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.bland.ai/v1/alarms"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("authorization", "<authorization>")

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.bland.ai/v1/alarms")
.header("authorization", "<authorization>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.bland.ai/v1/alarms")

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

request = Net::HTTP::Get.new(url)
request["authorization"] = '<authorization>'

response = http.request(request)
puts response.read_body
{
  "data": {
    "alarms": [
      {
        "id": "b14f7f49-8af2-4d7b-9f51-e3b42b2f91c6",
        "metric_type": "latency",
        "enabled": true,
        "threshold": 1,
        "webhook_config": {
          "url": "https://example.com/webhooks/alarms",
          "headers": {
            "Content-Type": "appl***"
          }
        },
        "email_addresses": ["alerts@example.com"],
        "sms_numbers": ["+15555550123"],
        "created_at": "2026-03-10T00:26:37.707Z",
        "updated_at": "2026-03-10T00:26:37.707Z"
      }
    ]
  },
  "errors": null
}

Headers

authorization
string
required
Your API key for authentication.

Query Parameters

metric_type
string
Optional metric filter. Allowed values: latency, api_errors, call_length.

Response

data.alarms
array
Alarm configuration objects for your organization.
data.alarms[].id
string
Alarm configuration ID.
data.alarms[].metric_type
string
Metric this alarm tracks. One of: latency, api_errors, call_length.
data.alarms[].threshold
number
Trigger threshold for this metric.
data.alarms[].enabled
boolean
Whether this alarm is enabled.
data.alarms[].webhook_config
object|null
Webhook settings object, including url and optional masked headers.
data.alarms[].email_addresses
string[]
Email recipients for notifications.
data.alarms[].sms_numbers
string[]
SMS recipients for notifications.
data.alarms[].created_at
string
ISO timestamp for when the alarm was created.
data.alarms[].updated_at
string
ISO timestamp for when the alarm was last updated.
errors
null|array
null on success, otherwise an array of error objects.
{
  "data": {
    "alarms": [
      {
        "id": "b14f7f49-8af2-4d7b-9f51-e3b42b2f91c6",
        "metric_type": "latency",
        "enabled": true,
        "threshold": 1,
        "webhook_config": {
          "url": "https://example.com/webhooks/alarms",
          "headers": {
            "Content-Type": "appl***"
          }
        },
        "email_addresses": ["alerts@example.com"],
        "sms_numbers": ["+15555550123"],
        "created_at": "2026-03-10T00:26:37.707Z",
        "updated_at": "2026-03-10T00:26:37.707Z"
      }
    ]
  },
  "errors": null
}

Docs for agents: llms.txt