Skip to main content
POST

Authorizations

Authorization
string
header
required

Timbal API key. Obtain your API key from the Timbal platform settings. See Authentication for more information.

Path Parameters

org_id
string
required
alarm_id
string
required

Body

application/json

Channel reference embedded in another resource's create body (alarms). Either reuse by id, or supply type + config inline.

config
object

Omitted or null when linking by id only.

id
string | null

Existing NotificationChannels.id for this org. When set, type / config / name are ignored.

name
string | null
type
enum<string>
Available options:
email,
slack

Response

Channel attached

already_linked
boolean
required

true when this channel was already attached, so the call changed nothing. Linking is idempotent — retries must not create duplicates, which would notify the same destination twice per transition.

channel_action
enum<string>
required

How the underlying NotificationChannels row was resolved: referenced by id, deduped onto an identical existing row, or inserted.

Available options:
linked,
reused,
created
channel_id
integer<int64>
required