Skip to main content
The Users module allows you to create and manage user accounts, track their usage, and associate them with plans.

List Users

Get all users for your account:

Create User

Create a new user account:

Create User Parameters

string
required
The name of the user
string
required
The email address of the user
string
The ID of the plan to associate with this user
object
Additional metadata for the user

Get User

Retrieve a specific user by ID:

Update User

Update an existing user:

Update User Parameters

string
New name for the user
string
Updated email address
string
Updated plan ID to associate with the user
object
Updated metadata for the user

Delete User

Delete a user account (soft delete):

Get User Usage

Get usage statistics for a specific user:

User Usage Response

number
Current usage count for the period
number
The limit for the current period
number
Remaining requests for the period
string
When the usage will reset (ISO 8601 format)
string
The current period
string
The name of the user’s current plan

Get User API Keys

Get all API keys for a specific user:

Get User Requests

Get detailed request history for a user:

User Requests Response

array
Array of request objects
string
When the request was made (ISO 8601 format)
string
The endpoint that was called
string
The HTTP method used
string
The validation status (allowed/denied)
string
The ID of the API key used for the request

Complete Example

User Object

The user object contains the following properties:
string
Unique identifier for the user
string
The name of the user
string
The email address of the user
string
The ID of the plan associated with this user
string
When the user was created (ISO 8601 format)
string
When the user was last updated (ISO 8601 format)
object
Additional metadata for the user

User Management Best Practices

User Organization

Use metadata to organize users by company, team, or role. This helps with reporting and management.

Plan Assignment

Always assign users to appropriate plans based on their needs and usage patterns.

Usage Monitoring

Regularly monitor user usage to identify patterns and optimize plan assignments.

Next Steps