List notification rules
curl --request GET \ --url 'https://example.com/api/v1/notification-rules?source=PM_DIGEST&scopeType=WORKSPACE&page=1&perPage=20' \ --header 'Authorization: Bearer <token>'Lists the saved chat notification rules of the workspace, ordered by source and scope, with their channels (never their URLs). A source that sends without a saved rule (see defaultRule in /notification-rules/sources) is not listed until a rule is saved for it. Requires the settings.manage permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Which notification a rule configures. GET /notification-rules/sources lists what each one accepts.
What a rule is narrowed to: the whole workspace, or one team, company (CLIENT) or project.
The team, company or project id a rule is narrowed to. Not used for the workspace.
The team, company or project id a rule is narrowed to. Not used for the workspace.
Responses
Section titled “Responses”A page of notification rules.
object
A chat notification: what is sent (source), when, to which channels and whom it mentions. Channel URLs are never returned.
object
object
Chat provider detected from the channel’s webhook URL.
Null for a source’s default rule, which has no saved row.
True when the source sends without a saved rule and this is what it does.
object
What a rule is narrowed to: the whole workspace, or one team, company (CLIENT) or project.
Which notification a rule configures. GET /notification-rules/sources lists what each one accepts.
Pagination metadata for list responses.
object
Example
{ "data": [ { "destinations": [ { "provider": "discord" } ], "scopeType": "WORKSPACE", "source": "PM_DIGEST" } ]}Validation error. Parse failures include field paths and expectations.
Validation error with safe field paths and expected values; submitted values are never returned.
object
object
Stable machine-readable error code.
object
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC