Skip to main content
POST
/
api
/
v1
/
organizations
/
{org_id}
/
users
Add User
curl --request POST \
  --url https://anaconda.com/api/v1/organizations/{org_id}/users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "jsmith@example.com",
  "first_name": "<string>",
  "last_name": "<string>"
}
'
{
  "id": "<string>",
  "email": "jsmith@example.com",
  "first_name": "<string>",
  "last_name": "<string>"
}
Provide an email address to add the user as a standard organization member.Omitting an email address creates an organization-managed user instead.Managed users are not linked to individual accounts and are intended for programmatic use, such as generating tokens for automated processes or integrations.

Authorizations

Authorization
string
header
required

Bearer token obtained by authenticating with service account credentials (client_id and client_secret).

See the Getting started page for the full authentication flow.

Path Parameters

org_id
string
required

Your organization ID, found in your organization's URL: anaconda.com/app/organizations/<ORG_ID>/.

Body

application/json
email
string<email> | null

The email address for the new user. If omitted, an organization-managed user is created instead.

first_name
string | null

The first name of the user. For managed users, use a descriptive name for the token's intended purpose.

last_name
string | null

The last name of the user. For managed users, use a descriptive name for the token's intended purpose.

Response

User added successfully

id
string
required

The unique identifier for the created user.

email
string<email> | null

The email address of the user.

first_name
string | null

The first name of the user.

last_name
string | null

The last name of the user.