Skip to main content
Manage API keys for your users using the Limitly REST API.

List API Keys

Get all API keys for your account:

Response

Create API Key

Create a new API key for a user:

Request Parameters

string
required
A descriptive name for the API key
number
required
The ID of the user who will use this API key
string
The ID of the plan to associate with this API key
string
The status of the API key (active, inactive)

Response

Get API Key

Retrieve a specific API key by ID:

Response

Update API Key

Update an existing API key:

Request Parameters

string
New name for the API key
string
New status for the API key (active, inactive)

Delete API Key

Delete an API key:

Response

Regenerate API Key

Regenerate an existing API key (creates a new key value):

Response

Get API Key Usage

Get usage statistics for a specific API key:

Response

Get API Key Requests

Get detailed request history for an API key:

Response

Error Responses

Invalid API Key

API Key Not Found

Validation Error

Pagination

List endpoints support pagination with the following query parameters:
number
Page number (default: 1)
number
Number of items per page (default: 10, max: 100)

Example

Next Steps