Skip to main content
POST
Create a subscription limit

Authorizations

Authorization
string
header
required

Send your API key in the Authorization header:

Create keys in the Followr app under Settings > API keys. A key acts as its user, with that user's role in each company.

Body

application/json
company_id
integer
required

The company's ID.

Example:

1287

user_id
integer | null

A member to limit. Leave out for a company-wide limit.

Example:

5530

users_amount
integer | null

Company-wide only. Max people in the company.

Required range: x >= 0
Example:

null

words_amount
integer | null

Max AI words per period.

Required range: x >= 0
Example:

50000

images_amount
integer | null

Max media credits per period.

Required range: x >= 0
Example:

200

premium_images_amount
integer | null

Max premium image model credits.

Required range: x >= 0
Example:

0

bytes_amount
integer | null

Storage, in bytes.

Required range: x >= 0
Example:

null

Response

An existing limit was updated.

data
object

An owner's cap on how much of the plan a company, or one member, may use. A null amount is uncapped.