Docs
Create Rule Set
POST /rule-sets
POST
/rule-setsRequired Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
| Event token | x-Event-Token | Optional | Run **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually. |
Creates an empty rule set.
Requires
EventSettings permission on the event.Event scoping: This endpoint does not include
{eventId} in the URL. The event is determined automatically from your x-Event-Token.Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Required | Name. |
Response
201 Created with { "id": "<ruleSetId>" }.
Error Codes
| HTTP Status | Description |
|---|---|
| 400 | Invalid name. |