Reference / Slack routing

List routing rules

list_routing_rulesocmgr routing rule listGET /v1/routing-rulesREAD

Includes window_days deliveryStats, state and Slack readiness; member_id selects explicit follows with merges resolved. Every rule that sends community activity into a Slack channel, with what each one has actually delivered. Read this before creating one: rules overlap silently — two rules matching the same event post the same thing twice — and the delivery counts beside each rule are how you tell "nothing has happened" from "this rule cannot post". A rule with skipped deliveries is misconfigured, not quiet, and lastFailure says which.

Parameters

segmentstring

Only entries using this segment, by id or name.

window_daysinteger1–90default 7

Delivery window in days, 1–90; defaults to 7. Counts use a rolling window; day buckets are UTC, oldest first.

member_idstring (uuid)

Rules explicitly following this member, including merged ids.

source"self" | "github" | "slack" | "discourse" | "vanilla" | "bevy" | "gainsight-cc" | "gradual" | "bettermode" | "circle" | "flarum" | "verint" | "dev" | "stackoverflow" | "meetup" | "luma" | "discord" | "generic" | "csv" | "enrichment"

Only rules watching this source.

enabledboolean

true for live rules, false for switched-off ones.

include_deletedboolean

Include archived rules; they keep their ids.

limitinteger1–200

How many rows to return, 1–200. Defaults to 25. Ask for what you will read.

cursorstring

The nextCursor from a previous page of this same call. Opaque — pass it back unchanged, never construct one.

CLI flags

--segment <segment>

Only entries using this segment, by id or name

--member <id>

Rules explicitly following this member (merges followed)

--source <kind>

Only rules watching this source

--window-days <n>

Delivery stats window, 1–90 days (default 7)

--enabled

Only live rules

--disabled

Only switched-off rules

--include-deleted

Include archived rules (they keep their ids)

--limit <n>

Page size (default 25, max 200)

--cursor <cursor>

Continue from a previous page (opaque)

Also in Slack routing