⚠️ Experimental — Lists Guild notification channels in the organization. Use optional type and enabled_only filters. Respects provider workspace_id for workspace scoping.
# When to use: List email/Slack notification channels for the current owner.
data "sg_notification_channels" "email" {
type = "email"
enabled_only = true
}
output "email_channel_ids" {
value = [for c in data.sg_notification_channels.email.channels : c.id]
}
enabled_only (Boolean) When true, return only enabled channels.type (String) Filter by delivery type (email, slack, or webhook).channels (Attributes List) Notification channels matching the query. (see below for nested schema)channelsRead-Only:
channel_id (String) Slack channel ID used for delivery.channel_name (String) Optional Slack channel display name.created_at (String) Creation timestamp (RFC 3339).created_by (String) User UUID that created the channel.emails (List of String) Recipient emails for email channels.enabled (Boolean) Whether the channel is active.event_scope (String) Deprecated Slack routing scope; ignored for delivery. Use channel_id instead.id (String) Server-assigned notification channel UUID.name (String) Human-readable channel name.secret_set (Boolean) Whether a write-only webhook Bearer token is stored; its value is never returned.type (String) Delivery type (email, slack, or webhook).updated_at (String) Last modification timestamp (RFC 3339).updated_by (String) User UUID that last modified the channel.url (String) HTTPS webhook destination URL.