Skip to main content
PATCH
Update a feed

Authorizations

Authorization
string
header
required

Clerk API key. Create one in Settings → API Keys. Pass as Authorization: Bearer <key>.

Path Parameters

id
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991

Body

application/json

Partial update. Passing simpleFilters or advancedFilters replaces that side of the filter; passing null clears it (switch a feed between simple and advanced by sending the new side and null on the old one). Destinations are all-or-nothing — include the full list to update any of them.

name
string

Replace feed name. Max 191 characters.

Required string length: 1 - 191
icon
enum<string>

Icon identifier for UI display (Heroicons outline set).

Available options:
InboxStackIcon,
HeartIcon,
AtSymbolIcon,
ExclamationTriangleIcon,
MegaphoneIcon,
ArrowTrendingUpIcon,
BuildingOffice2Icon,
ArrowTrendingDownIcon,
BellIcon,
BuildingLibraryIcon,
ChartBarIcon,
ChatBubbleLeftIcon,
ChatBubbleLeftRightIcon,
CheckCircleIcon,
CloudIcon,
CodeBracketIcon,
ComputerDesktopIcon,
CursorArrowRaysIcon,
DevicePhoneMobileIcon,
DocumentIcon,
DocumentTextIcon,
EnvelopeIcon,
EyeIcon,
FaceSmileIcon,
FaceFrownIcon,
FireIcon,
FlagIcon,
FolderIcon,
GlobeAltIcon,
GlobeAmericasIcon,
HandThumbUpIcon,
HashtagIcon,
InboxArrowDownIcon,
LightBulbIcon,
PaperClipIcon,
RocketLaunchIcon,
RssIcon,
SignalIcon,
SparklesIcon,
StarIcon,
TrophyIcon,
UserGroupIcon,
WalletIcon
Example:

"BellIcon"

simpleFilters
object | null

Simple AND-combined filter list.

advancedFilters
object | null

Nested filter expression — groups of conditions combined with AND/OR.

destinations
object[]

If provided, replaces all destinations. If omitted, destinations are unchanged.

Response

200 response

A saved filter with optional notification destinations.

id
integer
required

Feed ID.

Required range: -9007199254740991 <= x <= 9007199254740991
name
string
required

Display name shown in the app and included in notifications.

Example:

"Competitor mentions"

icon
enum<string>
required

Icon identifier for UI display (Heroicons outline set).

Available options:
InboxStackIcon,
HeartIcon,
AtSymbolIcon,
ExclamationTriangleIcon,
MegaphoneIcon,
ArrowTrendingUpIcon,
BuildingOffice2Icon,
ArrowTrendingDownIcon,
BellIcon,
BuildingLibraryIcon,
ChartBarIcon,
ChatBubbleLeftIcon,
ChatBubbleLeftRightIcon,
CheckCircleIcon,
CloudIcon,
CodeBracketIcon,
ComputerDesktopIcon,
CursorArrowRaysIcon,
DevicePhoneMobileIcon,
DocumentIcon,
DocumentTextIcon,
EnvelopeIcon,
EyeIcon,
FaceSmileIcon,
FaceFrownIcon,
FireIcon,
FlagIcon,
FolderIcon,
GlobeAltIcon,
GlobeAmericasIcon,
HandThumbUpIcon,
HashtagIcon,
InboxArrowDownIcon,
LightBulbIcon,
PaperClipIcon,
RocketLaunchIcon,
RssIcon,
SignalIcon,
SparklesIcon,
StarIcon,
TrophyIcon,
UserGroupIcon,
WalletIcon
Example:

"BellIcon"

simpleFilters
object | null
required

Simple AND-combined filter list.

advancedFilters
object | null
required

Nested filter expression — groups of conditions combined with AND/OR.

isDefault
boolean
required

If true, this feed is pinned as the org's default view.

destinations
object[]
required

Notification destinations. Empty array = filter-only feed with no notifications.

createdAt
string<date-time>
required
Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
updatedAt
string<date-time>
required
Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$