Skip to content
Get started

Add a user to an organization

post/v1/orgs/{orgId}/users

Associates an existing user with an organization, granting them access to organization-specific resources and studies.

Path ParametersExpand Collapse
orgId: string

Unique organization identifier. Format: org_{32-hex-chars}

Body ParametersExpand Collapse
userId: string

User ID to add to the organization. Format: usr_{32-hex-chars}

ReturnsExpand Collapse
success: boolean
message: optional string
Add a user to an organization
curl https://api.avarasoftware.com/v1/orgs/$ORG_ID/users \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $AVARA_API_KEY" \
    -d '{
          "userId": "usr_1234567890abcdef1234567890abcdef"
        }'
{
  "success": true,
  "message": "Operation completed successfully"
}
Returns Examples
{
  "success": true,
  "message": "Operation completed successfully"
}