curl --request GET \
--url https://api.bland.ai/v1/alarms/{id} \
--header 'authorization: <authorization>'{
"data": {
"alarm": {
"id": "9a6d2ad2-a9c6-4e4a-bde6-4bb6fc22b907",
"metric_type": "latency",
"enabled": true,
"threshold": 0.5,
"webhook_config": {
"url": "https://example.com/webhooks/alarms",
"headers": {
"Content-Type": "appl***"
}
},
"email_addresses": ["alerts@example.com"],
"sms_numbers": ["+15555550123"],
"created_at": "2026-03-12T16:13:02.694Z",
"updated_at": "2026-03-12T16:34:09.340Z"
}
},
"errors": null
}
Get a single alarm configuration by ID.
curl --request GET \
--url https://api.bland.ai/v1/alarms/{id} \
--header 'authorization: <authorization>'{
"data": {
"alarm": {
"id": "9a6d2ad2-a9c6-4e4a-bde6-4bb6fc22b907",
"metric_type": "latency",
"enabled": true,
"threshold": 0.5,
"webhook_config": {
"url": "https://example.com/webhooks/alarms",
"headers": {
"Content-Type": "appl***"
}
},
"email_addresses": ["alerts@example.com"],
"sms_numbers": ["+15555550123"],
"created_at": "2026-03-12T16:13:02.694Z",
"updated_at": "2026-03-12T16:34:09.340Z"
}
},
"errors": null
}
{
"data": {
"alarm": {
"id": "9a6d2ad2-a9c6-4e4a-bde6-4bb6fc22b907",
"metric_type": "latency",
"enabled": true,
"threshold": 0.5,
"webhook_config": {
"url": "https://example.com/webhooks/alarms",
"headers": {
"Content-Type": "appl***"
}
},
"email_addresses": ["alerts@example.com"],
"sms_numbers": ["+15555550123"],
"created_at": "2026-03-12T16:13:02.694Z",
"updated_at": "2026-03-12T16:34:09.340Z"
}
},
"errors": null
}
Was this page helpful?