POST
/
v2
/
enterprise
/
organizations
curl -X POST "https://api.devin.ai/v2/enterprise/organizations" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "display_name": "Engineering Team",
    "acu_limit": 1000
  }'
{
  "org_admin_count": 1,
  "org_id": "org_abc123",
  "org_member_count": 1,
  "org_name": "Engineering Team",
  "org_user_count": 1,
  "max_cycle_acu_limit": 1000,
  "max_session_acu_limit": null
}

Create a new organization within your enterprise with optional ACU limits.

Request Body

display_name
string
required

The display name for the new organization

acu_limit
integer

Optional maximum ACU limit per billing cycle for the organization

Response

org_admin_count
integer
default:"0"

Number of members with admin role in this organization

org_id
string
required

Unique identifier for the created organization

org_member_count
integer
default:"0"

Total number of members in this organization

org_name
string
required

Organization display name

org_user_count
integer
default:"0"

Total number of users in this organization

max_cycle_acu_limit
integer

Maximum ACU limit per billing cycle (null if no limit)

max_session_acu_limit
integer

Maximum ACU limit per session (null if no limit)

curl -X POST "https://api.devin.ai/v2/enterprise/organizations" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "display_name": "Engineering Team",
    "acu_limit": 1000
  }'
{
  "org_admin_count": 1,
  "org_id": "org_abc123",
  "org_member_count": 1,
  "org_name": "Engineering Team",
  "org_user_count": 1,
  "max_cycle_acu_limit": 1000,
  "max_session_acu_limit": null
}
POST
/
v2
/
enterprise
/
organizations
curl -X POST "https://api.devin.ai/v2/enterprise/organizations" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "display_name": "Engineering Team",
    "acu_limit": 1000
  }'
{
  "org_admin_count": 1,
  "org_id": "org_abc123",
  "org_member_count": 1,
  "org_name": "Engineering Team",
  "org_user_count": 1,
  "max_cycle_acu_limit": 1000,
  "max_session_acu_limit": null
}

Create a new organization within your enterprise with optional ACU limits.

Request Body

display_name
string
required

The display name for the new organization

acu_limit
integer

Optional maximum ACU limit per billing cycle for the organization

Response

org_admin_count
integer
default:"0"

Number of members with admin role in this organization

org_id
string
required

Unique identifier for the created organization

org_member_count
integer
default:"0"

Total number of members in this organization

org_name
string
required

Organization display name

org_user_count
integer
default:"0"

Total number of users in this organization

max_cycle_acu_limit
integer

Maximum ACU limit per billing cycle (null if no limit)

max_session_acu_limit
integer

Maximum ACU limit per session (null if no limit)

curl -X POST "https://api.devin.ai/v2/enterprise/organizations" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "display_name": "Engineering Team",
    "acu_limit": 1000
  }'
{
  "org_admin_count": 1,
  "org_id": "org_abc123",
  "org_member_count": 1,
  "org_name": "Engineering Team",
  "org_user_count": 1,
  "max_cycle_acu_limit": 1000,
  "max_session_acu_limit": null
}