Skip to main content
POST
/
:projectId
/
api
/
v7
/
spaces
/
:spaceId
/
rules
Create Rule
curl --request POST \
  --url https://api.replyke.com/api/v6/:projectId/api/v7/spaces/:spaceId/rules \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "description": "<string>"
}
'
Creates a community rule. Only space admins can create rules. The new rule is appended to the end of the existing rule list.

Path Parameters

spaceId
string
required
UUID of the space.

Body Parameters

title
string
required
Short rule title.
description
string
Optional detailed description.

Response

The created Rule object with all fields including the assigned order value. See also: useCreateRule