---
title: "Add a rule to a plan"
method: POST
path: "/v1/entitlement-plans/{id}/rules"
tags: ["Entitlements"]
---

# Add a rule to a plan

`POST /v1/entitlement-plans/{id}/rules`

Add a feature limit rule to an entitlement plan.

## Path parameters

- `id` string, required

## Request body

- object
  - `featureKey` string, required
  - `limitType` 'COUNT' | 'AMOUNT', required
  - `period` 'DAILY' | 'MONTHLY', required
  - `limitValue` number, required — Limit value (must be non-negative)
  - `unlimited` boolean

## Response `201`

Rule created

- object — Rule created

## Other responses

- `401` — Unauthorized
- `404` — Plan not found
- `409` — Rule already exists

---

[API](https://skmtc.net/usedrip/apis/drip-api.md) · [All operations](https://skmtc.net/usedrip/apis/drip-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usedrip/drip-api/versions/2cb1567969ca/schema)
