GET
/v2/Alarms/{Sid}
curl \
--request GET 'https://monitor.twilio.com/v2/Alarms/{Sid}' \
--user "username:password"
Response examples (200)
# Headers
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, OPTIONS
Access-Control-Allow-Headers: Content-Type, Authorization
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: X-Custom-Header1, X-Custom-Header2
# Payload
{
"friendlyName": "string",
"queryType": "ERROR_CODE",
"query": "string",
"triggerValue": 42,
"timeWindow": "FIVE_MINS",
"email": [
"hello@example.com"
],
"webhook": "https://example.com",
"consoleIndicator": true,
"description": "string",
"enabled": true,
"product": "string",
"alertConfigSid": "string",
"dateUpdated": "2025-05-04T09:42:00Z",
"dateCreated": "2025-05-04T09:42:00Z"
}
Response examples (400)
# Headers
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, OPTIONS
Access-Control-Allow-Headers: Content-Type, Authorization
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: X-Custom-Header1, X-Custom-Header2
# Payload
{
"message": "string",
"code": 42,
"user_error": true,
"http_status_code": 42,
"params": {
"additionalProperty1": "string",
"additionalProperty2": "string"
},
"more_info": "string",
"status": 42
}
Response examples (401)
# Headers
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, OPTIONS
Access-Control-Allow-Headers: Content-Type, Authorization
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: X-Custom-Header1, X-Custom-Header2
# Payload
{
"message": "string",
"code": 42,
"user_error": true,
"http_status_code": 42,
"params": {
"additionalProperty1": "string",
"additionalProperty2": "string"
},
"more_info": "string",
"status": 42
}
Response examples (404)
# Headers
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, OPTIONS
Access-Control-Allow-Headers: Content-Type, Authorization
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: X-Custom-Header1, X-Custom-Header2
# Payload
{
"message": "string",
"code": 42,
"user_error": true,
"http_status_code": 42,
"params": {
"additionalProperty1": "string",
"additionalProperty2": "string"
},
"more_info": "string",
"status": 42
}
Response examples (429)
# Headers
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, OPTIONS
Access-Control-Allow-Headers: Content-Type, Authorization
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: X-Custom-Header1, X-Custom-Header2
# Payload
{
"message": "string",
"code": 42,
"user_error": true,
"http_status_code": 42,
"params": {
"additionalProperty1": "string",
"additionalProperty2": "string"
},
"more_info": "string",
"status": 42
}
Response examples (500)
# Headers
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, OPTIONS
Access-Control-Allow-Headers: Content-Type, Authorization
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: X-Custom-Header1, X-Custom-Header2
# Payload
{
"message": "string",
"code": 42,
"user_error": true,
"http_status_code": 42,
"params": {
"additionalProperty1": "string",
"additionalProperty2": "string"
},
"more_info": "string",
"status": 42
}