Skip to content

Update an alert contact

PUT
/api/v1/alert-contacts/{id}

Updates an existing alert contact. Only the fields provided in the request body are changed.

id
required
integer
Example
1

Unique alert contact identifier.

Request body for updating an alert contact. All fields are optional.

object
name

Human-readable label.

string
Example
Engineering Slack
type

Notification channel type.

string
Allowed values: email slack webhook
Example
slack
value

Channel address.

string
Example
https://hooks.slack.com/services/T00/B00/xxx

Alert contact updated successfully.

A contact channel for receiving alerts.

object
id
required

Unique alert contact identifier.

integer
Example
1
user_id
required

ID of the user who owns this contact.

integer
Example
1
type
required

Notification channel type.

string
Allowed values: email slack webhook
Example
email
value
required

Channel address (email, Slack webhook URL, or webhook URL).

string
Example
ops@example.com
name
required

Human-readable label for this contact.

string
Example
Ops Team Email
verified

Whether the contact has been verified. Email contacts require verification before receiving alerts. Slack and webhook contacts are verified automatically.

boolean
Example
true
created_at
required

When the contact was created.

string format: date-time
Example
2026-01-10T09:00:00Z

The request body is invalid or missing required fields.

Error response returned when a request fails.

object
error
required

A human-readable error message.

string
Example
monitor not found
Example
{
"error": "invalid request body"
}

Authentication credentials are missing or invalid.

Error response returned when a request fails.

object
error
required

A human-readable error message.

string
Example
monitor not found
Example
{
"error": "unauthorized"
}

The requested resource was not found.

Error response returned when a request fails.

object
error
required

A human-readable error message.

string
Example
monitor not found
Example
{
"error": "not found"
}