Skip to main content
Spaces can define rules — titled and optionally described guidelines that anyone who can see the space can read. Rules are ordered and can be reordered by admins. They are read-only for regular members.

Fetching Rules

Rules are readable without authentication. The rules of a space the user can’t see (a private space they aren’t an active member of, or a space under one) are answered 404 space/not-found:

Creating Rules

Only space admins can create rules:

Updating and Deleting Rules

Reordering Rules

Admins can reorder rules by providing a new ordered array of rule IDs:
The order field on each rule reflects its position in the list. Rules are typically displayed in ascending order.

Rule Data Shape

Each rule returned by the API has the following fields:

Hook Reference