For the complete documentation index, see llms.txt. This page is also available as Markdown.

User Management

Project Member and user related APIs

List Agents

get
/webapi/v2/agents

List agents (users) in the project with optional email filter and pagination.

Authorizations
API-KEYstringRequired

Your API key for authentication

Query parameters
offsetintegerOptionalDefault: 0
limitintegerOptionalDefault: 100
emailstring · nullableOptional
Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Responses
200

OK

application/json
get/webapi/v2/agents
GET /webapi/v2/agents HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
{
  "agents": [
    {
      "id": "text",
      "lastName": "text",
      "firstName": "text",
      "email": "text"
    }
  ]
}

Get Agent

get
/webapi/v2/agents/{agent_id}

Retrieve a single agent by ID. Returns 404 if the agent is not a member of the project.

Authorizations
API-KEYstringRequired

Your API key for authentication

Path parameters
agent_idstringRequired
Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Responses
200

OK

application/json
idstringRequired
lastNamestringRequired
firstNamestringRequired
emailstringRequired
get/webapi/v2/agents/{agent_id}
GET /webapi/v2/agents/{agent_id} HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
{
  "id": "text",
  "lastName": "text",
  "firstName": "text",
  "email": "text"
}

Bulk User Actions

post
/webapi/v2/users/bulk

Create, update, or delete users in bulk. Supports up to 100 users per request. Each user result includes individual success/error status.

Authorizations
API-KEYstringRequired

Your API key for authentication

Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Body
actionstring · enumRequiredPossible values:
Responses
200

OK

application/json
post/webapi/v2/users/bulk
POST /webapi/v2/users/bulk HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 217

{
  "action": "create",
  "users": [
    {
      "data": [
        {
          "key": "first_name",
          "value": "John"
        },
        {
          "key": "last_name",
          "value": "Doe"
        },
        {
          "key": "email",
          "value": "john_doe@allganize.io"
        },
        {
          "key": "customer_group",
          "value": "HR"
        }
      ],
      "ownUserId": "A12345"
    }
  ]
}
{
  "result": [
    {
      "ownUserId": "A12345",
      "status": "success"
    }
  ]
}

Get User

get
/webapi/v2/user/{own_user_id}

Retrieve a user by their own_user_id, including email and customer group information.

Authorizations
API-KEYstringRequired

Your API key for authentication

Path parameters
own_user_idstringRequired
Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Responses
200

OK

application/json
get/webapi/v2/user/{own_user_id}
GET /webapi/v2/user/{own_user_id} HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
{
  "result": {
    "userId": "text",
    "firstName": "text",
    "lastName": "text"
  }
}

Bulk Invite Members

post
/webapi/v2/members/bulk/invite

Bulk invite members to project.

This endpoint:

  1. Creates agents for emails that don't exist

  2. Adds agents as project members if not already

  3. Creates users for works projects

  4. Assigns permission groups (creates if needed)

Authorizations
API-KEYstringRequired

Your API key for authentication

Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Body

Request for bulk inviting members.

Responses
200

OK

application/json

Response for bulk member operations.

post/webapi/v2/members/bulk/invite
POST /webapi/v2/members/bulk/invite HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 123

{
  "members": [
    {
      "email": "user@example.com",
      "firstName": "John",
      "groups": [
        "Admin",
        "Developer"
      ],
      "lastName": "Doe",
      "locale": "en"
    }
  ]
}
{
  "result": [
    {
      "emails": [
        "user1@example.com",
        "user2@example.com"
      ],
      "errorMessage": null,
      "status": "success"
    },
    {
      "emails": [
        "user3@example.com"
      ],
      "errorMessage": "AGENT_CREATION_FAILED",
      "status": "fail"
    }
  ]
}

Bulk Update Member Permissions

post
/webapi/v2/members/bulk/update_permission_groups

Bulk update member permission groups.

This endpoint updates permission groups for existing members only.

Authorizations
API-KEYstringRequired

Your API key for authentication

Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Body

Request for bulk updating member permission groups.

Responses
200

OK

application/json

Response for bulk member operations.

post/webapi/v2/members/bulk/update_permission_groups
POST /webapi/v2/members/bulk/update_permission_groups HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 73

{
  "members": [
    {
      "email": "user@example.com",
      "groups": [
        "Admin",
        "Developer"
      ]
    }
  ]
}
{
  "result": [
    {
      "emails": [
        "user1@example.com",
        "user2@example.com"
      ],
      "errorMessage": null,
      "status": "success"
    },
    {
      "emails": [
        "user3@example.com"
      ],
      "errorMessage": "AGENT_CREATION_FAILED",
      "status": "fail"
    }
  ]
}

Bulk Remove Members

post
/webapi/v2/members/bulk/remove

Bulk remove members from project.

This endpoint removes existing members from the project.

Authorizations
API-KEYstringRequired

Your API key for authentication

Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Body

Request for bulk removing members.

Responses
200

OK

application/json

Response for bulk member operations.

post/webapi/v2/members/bulk/remove
POST /webapi/v2/members/bulk/remove HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 42

{
  "members": [
    {
      "email": "user@example.com"
    }
  ]
}
{
  "result": [
    {
      "emails": [
        "user1@example.com",
        "user2@example.com"
      ],
      "errorMessage": null,
      "status": "success"
    },
    {
      "emails": [
        "user3@example.com"
      ],
      "errorMessage": "AGENT_CREATION_FAILED",
      "status": "fail"
    }
  ]
}

List Permission Groups

get
/webapi/v2/permission_groups

List permission groups in the project with optional search and pagination.

Authorizations
API-KEYstringRequired

Your API key for authentication

Query parameters
search_termstring · nullableOptional
limitintegerOptionalDefault: 100
offsetintegerOptionalDefault: 0
Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Responses
200

OK

application/json
get/webapi/v2/permission_groups
GET /webapi/v2/permission_groups HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
{
  "permissionGroups": [
    {
      "id": "text",
      "name": "text",
      "isAdmin": true,
      "isDefault": true,
      "order": 1,
      "permissions": [
        "text"
      ],
      "agentCount": 1
    }
  ]
}

Create Permission Group

post
/webapi/v2/permission_groups

Create a new permission group with the specified name, permissions, and member agents.

Authorizations
API-KEYstringRequired

Your API key for authentication

Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Body
namestringRequired
agentIdsstring[]Optional
Responses
200

OK

application/json
idstringRequired
namestringRequired
isAdminbooleanRequired
isDefaultbooleanRequired
orderinteger · nullableRequired
permissionsstring[]Required
post/webapi/v2/permission_groups
POST /webapi/v2/permission_groups HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 74

{
  "name": "text",
  "agentIds": [
    "text"
  ],
  "permissions": [
    "dashboard_accessible"
  ]
}
{
  "id": "text",
  "name": "text",
  "isAdmin": true,
  "isDefault": true,
  "order": 1,
  "permissions": [
    "text"
  ],
  "agents": [
    {
      "id": "text",
      "lastName": "text",
      "firstName": "text",
      "email": "text"
    }
  ]
}

Get Permission Group

get
/webapi/v2/permission_groups/{permission_group_id}

Retrieve a single permission group by ID, including its permissions and member agents.

Authorizations
API-KEYstringRequired

Your API key for authentication

Path parameters
permission_group_idstringRequired
Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Responses
200

OK

application/json
idstringRequired
namestringRequired
isAdminbooleanRequired
isDefaultbooleanRequired
orderinteger · nullableRequired
permissionsstring[]Required
get/webapi/v2/permission_groups/{permission_group_id}
GET /webapi/v2/permission_groups/{permission_group_id} HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
{
  "id": "text",
  "name": "text",
  "isAdmin": true,
  "isDefault": true,
  "order": 1,
  "permissions": [
    "text"
  ],
  "agents": [
    {
      "id": "text",
      "lastName": "text",
      "firstName": "text",
      "email": "text"
    }
  ]
}

Delete Permission Group

delete
/webapi/v2/permission_groups/{permission_group_id}

Delete a permission group. Members of this group will lose the associated permissions.

Authorizations
API-KEYstringRequired

Your API key for authentication

Path parameters
permission_group_idstringRequired
Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Responses
200

OK

No content

delete/webapi/v2/permission_groups/{permission_group_id}
DELETE /webapi/v2/permission_groups/{permission_group_id} HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*

No content

List Permission Group Agents

get
/webapi/v2/permission_groups/{permission_group_id}/agents

List all agents (members) assigned to a specific permission group.

Authorizations
API-KEYstringRequired

Your API key for authentication

Path parameters
permission_group_idstringRequired
Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Responses
200

OK

application/json
idstringRequired
lastNamestringRequired
firstNamestringRequired
emailstringRequired
get/webapi/v2/permission_groups/{permission_group_id}/agents
GET /webapi/v2/permission_groups/{permission_group_id}/agents HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
[
  {
    "id": "text",
    "lastName": "text",
    "firstName": "text",
    "email": "text"
  }
]

Update Permission Group Name

put
/webapi/v2/permission_groups/{permission_group_id}/name

Rename an existing permission group.

Authorizations
API-KEYstringRequired

Your API key for authentication

Path parameters
permission_group_idstringRequired
Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Body
namestringRequired
Responses
200

OK

application/json
idstringRequired
namestringRequired
isAdminbooleanRequired
isDefaultbooleanRequired
orderinteger · nullableRequired
permissionsstring[]Required
put/webapi/v2/permission_groups/{permission_group_id}/name
PUT /webapi/v2/permission_groups/{permission_group_id}/name HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 15

{
  "name": "text"
}
{
  "id": "text",
  "name": "text",
  "isAdmin": true,
  "isDefault": true,
  "order": 1,
  "permissions": [
    "text"
  ],
  "agents": [
    {
      "id": "text",
      "lastName": "text",
      "firstName": "text",
      "email": "text"
    }
  ]
}

Update Permission Group Permissions

put
/webapi/v2/permission_groups/{permission_group_id}/permissions

Replace the permission set of an existing permission group. Dependent permissions must be included together.

Authorizations
API-KEYstringRequired

Your API key for authentication

Path parameters
permission_group_idstringRequired
Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Body
Responses
200

OK

application/json
idstringRequired
namestringRequired
isAdminbooleanRequired
isDefaultbooleanRequired
orderinteger · nullableRequired
permissionsstring[]Required
put/webapi/v2/permission_groups/{permission_group_id}/permissions
PUT /webapi/v2/permission_groups/{permission_group_id}/permissions HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 40

{
  "permissions": [
    "dashboard_accessible"
  ]
}
{
  "id": "text",
  "name": "text",
  "isAdmin": true,
  "isDefault": true,
  "order": 1,
  "permissions": [
    "text"
  ],
  "agents": [
    {
      "id": "text",
      "lastName": "text",
      "firstName": "text",
      "email": "text"
    }
  ]
}

Retrieve all single action app tools for the project

get
/webapi/agent_builder/single_action_app_tools
Authorizations
API-KEYstringRequired

Your API key for authentication

Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Responses
200

Successfully retrieved single action app tools

application/json
get/webapi/agent_builder/single_action_app_tools
GET /webapi/agent_builder/single_action_app_tools HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
{
  "tools": [
    {
      "id": "text",
      "name": "text",
      "display_name": "text",
      "description": "text",
      "single_action_inputs": [
        {
          "name": "text",
          "type": "text",
          "description": "text"
        }
      ]
    }
  ]
}

Retrieve a specific single action app tool by its name

get
/webapi/agent_builder/single_action_app_tool/{tool_name}
Authorizations
API-KEYstringRequired

Your API key for authentication

Path parameters
tool_namestringRequired

Name of the tool to retrieve

Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Responses
200

Successfully retrieved the single action app tool

application/json
successbooleanOptional

Indicates if the operation was successful

get/webapi/agent_builder/single_action_app_tool/{tool_name}
GET /webapi/agent_builder/single_action_app_tool/{tool_name} HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
{
  "success": true,
  "tool": {
    "id": "text",
    "name": "text",
    "display_name": "text",
    "description": "text",
    "single_action_inputs": [
      {
        "name": "text",
        "type": "text",
        "description": "text"
      }
    ]
  }
}

Retrieve all agent tools for the project

get
/webapi/agent_builder/agent_tools
Authorizations
API-KEYstringRequired

Your API key for authentication

Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Responses
200

Successfully retrieved agent tools

application/json
get/webapi/agent_builder/agent_tools
GET /webapi/agent_builder/agent_tools HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
{
  "tools": [
    {
      "id": "text",
      "name": "text",
      "display_name": "text",
      "description": "text",
      "project_id": "text",
      "published": true,
      "variables": [
        {
          "name": "text",
          "type": "text",
          "description": "text",
          "required": true
        }
      ]
    }
  ]
}

Retrieve a specific agent tool by its name

get
/webapi/agent_builder/agent_tool/{tool_name}
Authorizations
API-KEYstringRequired

Your API key for authentication

Path parameters
tool_namestringRequired

Name of the agent tool to retrieve

Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Responses
200

Successfully retrieved the agent tool

application/json
successbooleanOptional

Indicates if the operation was successful

toolobjectOptional

The agent tool data

get/webapi/agent_builder/agent_tool/{tool_name}
GET /webapi/agent_builder/agent_tool/{tool_name} HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
{
  "success": true,
  "tool": {}
}

Retrieve OAuth2 information by state

post
/webapi/agent_builder/oauth2_information

Get OAuth2 configuration information for an AI agent using the OAuth state parameter

Authorizations
API-KEYstringRequired

Your API key for authentication

Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Body
statestringRequired

OAuth2 state parameter to identify the OAuth configuration

Responses
200

Successfully retrieved OAuth2 information

application/json
successbooleanOptional

Indicates if the operation was successful

post/webapi/agent_builder/oauth2_information
POST /webapi/agent_builder/oauth2_information HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 16

{
  "state": "text"
}
{
  "success": true,
  "oauth2_info": {
    "id": "text",
    "hub_id": "text",
    "configuration_name": "text",
    "authorization_url": "text",
    "token_url": "text",
    "client_id": "text",
    "client_secret": "text",
    "scope": [
      "text"
    ],
    "redirect_uri": "text",
    "place_access_token": "text",
    "place_expires_in": "text",
    "place_refresh_token": "text",
    "place_token_type": "text",
    "headers": {},
    "additional": {},
    "token_info": {},
    "token_generated": 1,
    "state": "text",
    "code_verifier": "text"
  }
}

Update OAuth2 token information

post
/webapi/agent_builder/oauth2_information/update

Update OAuth2 token information (tokenInfo and tokenGenerated) for an existing OAuth configuration

Authorizations
API-KEYstringRequired

Your API key for authentication

Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Body
statestringRequired

OAuth2 state parameter to identify the OAuth configuration

tokenInfoobjectOptional

Updated token information

tokenGeneratednumberOptional

Timestamp when the token was generated

Responses
200

Successfully updated OAuth2 information

application/json
successbooleanOptional

Indicates if the operation was successful

post/webapi/agent_builder/oauth2_information/update
POST /webapi/agent_builder/oauth2_information/update HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 50

{
  "state": "text",
  "tokenInfo": {},
  "tokenGenerated": 1
}
{
  "success": true
}

Agent Management

post
/webapi/agent_management

Used to create and delete agents from the project

Authorizations
API-KEYstringRequired

Your API key for authentication

Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Body
emailstringOptional

The email of the agent you want to create or delete

deleteFlagbooleanOptional

True if you want to delete an agent, False if you want to create

passwordstringOptional

Required when creating a new agent. Password must be valid (contain 3 out 4 following characters - lowercase, uppercase, numeric, non-alphanumeric)

localestringOptional

The language setting of the account being created. Use a two-letter ISO 639-1 code

permission_group_idstringOptional

ID of the permission group to assign to the agent

permission_group_namestringOptional

Name of the permission group to assign to the agent

Responses
200

Agent edited successfully

application/json
post/webapi/agent_management
POST /webapi/agent_management HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 128

{
  "email": "text",
  "deleteFlag": true,
  "password": "text",
  "locale": "text",
  "permission_group_id": "text",
  "permission_group_name": "text"
}
{
  "result": {
    "id": "text",
    "status": "text"
  }
}

Last updated