Skip to main content
Manage usage plans that define rate limits and features for your users using the Limitly REST API.

List Plans

Get all plans for your account:

Response

Create Plan

Create a new usage plan:

Request Parameters

string
required
The name of the plan
string
A description of the plan
number
required
Maximum number of requests allowed per period
string
required
The period for the request limit (day, week, month, year)
boolean
Whether the plan is active (default: true)

Response

Get Plan

Retrieve a specific plan by ID:

Response

Update Plan

Update an existing plan:

Request Parameters

string
New name for the plan
string
Updated description for the plan
number
Updated maximum number of requests
string
Updated request period
boolean
Updated active status

Delete Plan

Delete a plan:

Response

Get Plan Usage

Get usage statistics for a specific plan:

Response

Get Plan Users

Get all users on a specific plan:

Response

Get Plan API Keys

Get all API keys associated with a plan:

Response

Error Responses

Plan Not Found

Validation Error

Plan Periods

The following periods are supported:

Next Steps