Skip to main content
GET
/
:projectId
/
api
/
v7
/
spaces
/
:spaceId
/
rules
/
:ruleId
Fetch Rule
curl --request GET \
  --url https://api.replyke.com/api/v6/:projectId/api/v7/spaces/:spaceId/rules/:ruleId
Fetches a single rule by ID. Publicly accessible.

Path Parameters

spaceId
string
required
UUID of the space.
ruleId
string
required
UUID of the rule.

Response

A single Rule object with all fields.

Error Responses

{ "error": "Rule not found.", "code": "rule/not-found" }
See also: useFetchRule