Skip to main content
POST
/
v1
/
manage
/
group
Create group
curl --request POST \
  --url https://api-v2.requesty.ai/v1/manage/group \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Engineering Team",
  "monthly_limit": 1000
}
'
{
  "group_id": "123e4567-e89b-12d3-a456-426614174000"
}
Create a new group in your organization.

Authorizations

Authorization
string
header
required

API key for authentication

Body

application/json
name
string
required

The name of the group

Example:

"Engineering Team"

monthly_limit
number<double>

Monthly spending limit for the group. 0 means unlimited.

Example:

1000

Response

Group created successfully

group_id
string<uuid>
required

The ID of the created group

Example:

"123e4567-e89b-12d3-a456-426614174000"