Skip to main content
POST
/
v2
/
enterprise
/
organizations
/
{org_id}
/
members
Enterprise Organizations Member Addition Endpoint
curl --request POST \
  --url https://api.devin.ai/v2/enterprise/organizations/{org_id}/members \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "org_ids": [
    "<string>"
  ],
  "user_ids": [
    "<string>"
  ],
  "group_names": [
    "<string>"
  ],
  "org_role": "<string>"
}
'
{
  "status": "success"
}

Documentation Index

Fetch the complete documentation index at: https://docs.devin.ai/llms.txt

Use this file to discover all available pages before exploring further.

Requires an enterprise admin personal API key. This endpoint allows you to add multiple users to multiple organizations in a single API call. It’s designed for efficient bulk operations when managing organization memberships at scale.

Authorizations

Authorization
string
header
required

Personal API Key (apk_user_*) for Enterprise Admins only

Path Parameters

org_id
string
required

Body

application/json
org_ids
string[]
required
user_ids
string[]
required
group_names
string[] | null
org_role
string | null

Response

Successful Response

status
string
default:success