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

This API allows you to list agents (users) in the project.

Headers

  • API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.

  • AGENT-EMAIL (string, optional): The email address of the agent performing the API call.

  • USER-EMAIL (string, optional): The email address to associate with the user.

  • OWN-USER-ID (string, optional): The user ID to identify or create a user.

Query Parameters

  • offset (integer, optional): The number of items to skip. Defaults to 0.

  • limit (integer, optional): The maximum number of agents to return. Defaults to 100.

  • email (string, optional): Filter agents by email address.

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}

This API allows you to retrieve a single agent by ID.

Headers

  • API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.

  • AGENT-EMAIL (string, optional): The email address of the agent performing the API call.

  • USER-EMAIL (string, optional): The email address to associate with the user.

  • OWN-USER-ID (string, optional): The user ID to identify or create a user.

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

Global ID of the agent.

lastNamestringRequired

Agent last name.

firstNamestringRequired

Agent first name.

emailstringRequired

Agent email address.

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

This API allows you to create, update, or delete users in bulk. Supports up to 100 users per request.

Headers

  • API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.

  • AGENT-EMAIL (string, optional): The email address of the agent performing the API call.

  • USER-EMAIL (string, optional): The email address to associate with the user.

  • OWN-USER-ID (string, optional): The user ID to identify or create a user.

Request Body

  • action (string, required): The bulk action type. Must be create, update, or delete.

  • users (array[object], required): List of user objects. Each must contain:

  • users[].ownUserId (string, required): Unique ID of the user.

  • users[].data (array[object], optional): Key-value pairs. Required for create and update. Supported keys: EMAIL, FIRST_NAME, LAST_NAME, CUSTOMER_GROUP.

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 · enumRequired

Operation applied to every user in users.

Possible 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}

This API allows you to retrieve a user by their unique user ID.

Headers

  • API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.

  • AGENT-EMAIL (string, optional): The email address of the agent performing the API call.

  • USER-EMAIL (string, optional): The email address to associate with the user.

  • OWN-USER-ID (string, optional): The user ID to identify or create a user.

Path Parameters

  • own_user_id (string, required): The unique user ID to look up.

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

This API allows you to invite members to a project in bulk. Supports up to 100 members per request.

Headers

  • API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.

  • AGENT-EMAIL (string, optional): The email address of the agent performing the API call.

  • USER-EMAIL (string, optional): The email address to associate with the user.

  • OWN-USER-ID (string, optional): The user ID to identify or create a user.

Request Body

  • members (array[object], required): List of member objects to invite. Each contains:

  • members[].email (string, required): Email address of the member to invite.

  • members[].firstName (string, optional): First name of the member.

  • members[].lastName (string, optional): Last name of the member.

  • members[].locale (string, optional): Locale of the member (e.g., en, ko, ja).

  • members[].groups (array[string], optional): Permission group names to assign.

  • members[].attributes (object, optional): Additional key-value attributes.

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

This API allows you to update permission groups for existing members in bulk.

Headers

  • API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.

  • AGENT-EMAIL (string, optional): The email address of the agent performing the API call.

  • USER-EMAIL (string, optional): The email address to associate with the user.

  • OWN-USER-ID (string, optional): The user ID to identify or create a user.

Request Body

  • members (array[object], required): List of member objects to update. Each contains:

  • members[].email (string, required): Email address of the member to update.

  • members[].groups (array[string], optional): Permission group names to assign.

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

This API allows you to remove members from a project in bulk. Supports up to 100 members per request.

Headers

  • API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.

  • AGENT-EMAIL (string, optional): The email address of the agent performing the API call.

  • USER-EMAIL (string, optional): The email address to associate with the user.

  • OWN-USER-ID (string, optional): The user ID to identify or create a user.

Request Body

  • members (array[object], required): List of member objects to remove. Each contains:

  • members[].email (string, required): Email address of the member to remove.

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

This API allows you to list permission groups in the project.

Headers

  • API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.

  • AGENT-EMAIL (string, optional): The email address of the agent performing the API call.

  • USER-EMAIL (string, optional): The email address to associate with the user.

  • OWN-USER-ID (string, optional): The user ID to identify or create a user.

Query Parameters

  • search_term (string, optional): Filter permission groups by name.

  • limit (integer, optional): Maximum number of results to return. Defaults to 100.

  • offset (integer, optional): Number of results to skip for pagination. Defaults to 0.

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

This API allows you to create a new permission group.

Headers

  • API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.

  • AGENT-EMAIL (string, optional): The email address of the agent performing the API call.

  • USER-EMAIL (string, optional): The email address to associate with the user.

  • OWN-USER-ID (string, optional): The user ID to identify or create a user.

Request Body

  • name (string, required): Name of the permission group.

  • agentIds (array of strings, optional): List of agent IDs to assign to the group. Defaults to [].

  • permissions (array of strings, optional): List of permission values to grant. Dependent permissions must be included together. Defaults to [].

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

Permission group name.

agentIdsstring[]Optional

Global IDs of the agents to add to the group.

Responses
200

OK

application/json
idstringRequired

Global ID of the permission group.

namestringRequired

Permission group name.

isAdminbooleanRequired

True for the admin group, which has admin privileges.

isDefaultbooleanRequired

True for the group that new members join by default.

orderinteger · nullableRequired

Group order (0 admin, 1 super member, 2 member for the built-in groups). None when unset.

permissionsstring[]Required

Permission names granted to the group.

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}

This API allows you to retrieve a single permission group by ID.

Headers

  • API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.

  • AGENT-EMAIL (string, optional): The email address of the agent performing the API call.

  • USER-EMAIL (string, optional): The email address to associate with the user.

  • OWN-USER-ID (string, optional): The user ID to identify or create a user.

Path Parameters

  • permission_group_id (string, required): The ID of the permission group to retrieve.

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

Global ID of the permission group.

namestringRequired

Permission group name.

isAdminbooleanRequired

True for the admin group, which has admin privileges.

isDefaultbooleanRequired

True for the group that new members join by default.

orderinteger · nullableRequired

Group order (0 admin, 1 super member, 2 member for the built-in groups). None when unset.

permissionsstring[]Required

Permission names granted to the group.

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}

This API allows you to delete a permission group.

Headers

  • API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.

  • AGENT-EMAIL (string, optional): The email address of the agent performing the API call.

  • USER-EMAIL (string, optional): The email address to associate with the user.

  • OWN-USER-ID (string, optional): The user ID to identify or create a user.

Path Parameters

  • permission_group_id (string, required): The ID of the permission group to delete.

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

This API allows you to list all agents assigned to a specific permission group.

Headers

  • API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.

  • AGENT-EMAIL (string, optional): The email address of the agent performing the API call.

  • USER-EMAIL (string, optional): The email address to associate with the user.

  • OWN-USER-ID (string, optional): The user ID to identify or create a user.

Path Parameters

  • permission_group_id (string, required): The ID of the 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

Global ID of the agent.

lastNamestringRequired

Agent last name.

firstNamestringRequired

Agent first name.

emailstringRequired

Agent email address.

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

This API allows you to rename an existing permission group.

Headers

  • API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.

  • AGENT-EMAIL (string, optional): The email address of the agent performing the API call.

  • USER-EMAIL (string, optional): The email address to associate with the user.

  • OWN-USER-ID (string, optional): The user ID to identify or create a user.

Path Parameters

  • permission_group_id (string, required): The ID of the permission group to rename.

Request Body

  • name (string, required): The new name for the 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

New permission group name.

Responses
200

OK

application/json
idstringRequired

Global ID of the permission group.

namestringRequired

Permission group name.

isAdminbooleanRequired

True for the admin group, which has admin privileges.

isDefaultbooleanRequired

True for the group that new members join by default.

orderinteger · nullableRequired

Group order (0 admin, 1 super member, 2 member for the built-in groups). None when unset.

permissionsstring[]Required

Permission names granted to the group.

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

This API allows you to replace the permission set of an existing permission group.

Headers

  • API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.

  • AGENT-EMAIL (string, optional): The email address of the agent performing the API call.

  • USER-EMAIL (string, optional): The email address to associate with the user.

  • OWN-USER-ID (string, optional): The user ID to identify or create a user.

Path Parameters

  • permission_group_id (string, required): The ID of the permission group to update.

Request Body

  • permissions (array of strings, required): The new set of permissions. 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

Global ID of the permission group.

namestringRequired

Permission group name.

isAdminbooleanRequired

True for the admin group, which has admin privileges.

isDefaultbooleanRequired

True for the group that new members join by default.

orderinteger · nullableRequired

Group order (0 admin, 1 super member, 2 member for the built-in groups). None when unset.

permissionsstring[]Required

Permission names granted to the group.

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"
    }
  ]
}

List Single Action App Tools

get
/webapi/agent_builder/single_action_app_tools

This API allows you to retrieve all single action app tools available in the project.

Headers

  • API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.

  • AGENT-EMAIL (string, optional): The email address of the agent performing the API call.

  • USER-EMAIL (string, optional): The email address to associate with the user.

  • OWN-USER-ID (string, optional): The user ID to identify or create a user.

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"
        }
      ]
    }
  ]
}

Get Single Action App Tool

get
/webapi/agent_builder/single_action_app_tool/{tool_name}

This API allows you to retrieve a specific single action app tool by its function name.

Headers

  • API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.

  • AGENT-EMAIL (string, optional): The email address of the agent performing the API call.

  • USER-EMAIL (string, optional): The email address to associate with the user.

  • OWN-USER-ID (string, optional): The user ID to identify or create a user.

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"
      }
    ]
  }
}

List Agent Tools

get
/webapi/agent_builder/agent_tools

This API allows you to retrieve all published agent tools available in the project.

Headers

  • API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.

  • AGENT-EMAIL (string, optional): The email address of the agent performing the API call.

  • USER-EMAIL (string, optional): The email address to associate with the user.

  • OWN-USER-ID (string, optional): The user ID to identify or create a user.

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
        }
      ]
    }
  ]
}

Get Agent Tool

get
/webapi/agent_builder/agent_tool/{tool_name}

This API allows you to retrieve a specific agent tool by its function name.

Headers

  • API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.

  • AGENT-EMAIL (string, optional): The email address of the agent performing the API call.

  • USER-EMAIL (string, optional): The email address to associate with the user.

  • OWN-USER-ID (string, optional): The user ID to identify or create a user.

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": {}
}

Get OAuth2 Information

post
/webapi/agent_builder/oauth2_information

This API allows you to retrieve OAuth2 configuration information for an AI agent using the OAuth state parameter.

Headers

  • API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.

  • AGENT-EMAIL (string, optional): The email address of the agent performing the API call.

  • USER-EMAIL (string, optional): The email address to associate with the user.

  • OWN-USER-ID (string, optional): The user ID to identify or create a user.

Request Body

  • state (string, required): OAuth2 state parameter to identify the 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

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

This API allows you to update OAuth2 token information (tokenInfo and tokenGenerated) for an existing OAuth configuration.

Headers

  • API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.

  • AGENT-EMAIL (string, optional): The email address of the agent performing the API call.

  • USER-EMAIL (string, optional): The email address to associate with the user.

  • OWN-USER-ID (string, optional): The user ID to identify or create a user.

Request Body

  • state (string, required): OAuth2 state parameter to identify the OAuth configuration.

  • tokenInfo (object, optional): Updated token information.

  • tokenGenerated (number, optional): Timestamp when the token was generated.

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
}

Bulk Update User Variables

post
/webapi/variables/update

This API allows you to update custom variable values for multiple users in bulk.

Headers

  • API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.

  • AGENT-EMAIL (string, optional): The email address of the agent performing the API call.

  • USER-EMAIL (string, optional): The email address to associate with the user.

  • OWN-USER-ID (string, optional): The user ID to identify or create a user.

Request Body

  • customer_list (array[object], required): List of user variable updates, each containing:

    • customer_id (string, required): The user's own_user_id.

    • variable_name (string, required): The name of the variable to update.

    • value (string, required): The new value for the variable.

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
Responses
200

Successfully updated variables

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

{
  "customer_list": [
    {
      "customer_id": "text",
      "variable_name": "text",
      "value": "text"
    }
  ]
}
{
  "updated": 1
}

List Users

get
/webapi/users

This API allows you to list users in the project with optional filtering by customer group and pagination.

Headers

  • API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.

  • AGENT-EMAIL (string, optional): The email address of the agent performing the API call.

  • USER-EMAIL (string, optional): The email address to associate with the user.

  • OWN-USER-ID (string, optional): The user ID to identify or create a user.

Query Parameters

  • limit (integer, optional): Number of users to return per page. Maximum is 1000. Defaults to 10.

  • offset (integer, optional): Number of users to skip for pagination. Defaults to 0.

  • customerGroup (string, optional): Filter users by customer group name.

  • requiredVariables (string, optional): Comma-separated list of custom variable names to include in the response.

Authorizations
API-KEYstringRequired

Your API key for authentication

Query parameters
limitintegerOptionalDefault: 10
offsetintegerOptionalDefault: 0
customerGroupstringOptional
requiredVariablesstringOptional
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 users

application/json
resultobject[]Optional
countintegerOptional
totalCountintegerOptional
get/webapi/users
GET /webapi/users HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
{
  "result": [
    {}
  ],
  "count": 1,
  "totalCount": 1
}

Get User

get
/webapi/user/{own_user_id}

This API allows you to retrieve a user by their own_user_id.

Headers

  • API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.

  • AGENT-EMAIL (string, optional): The email address of the agent performing the API call.

  • USER-EMAIL (string, optional): The email address to associate with the user.

  • OWN-USER-ID (string, optional): The user ID to identify or create a user.

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

Successfully retrieved user

application/json
resultobjectOptional
get/webapi/user/{own_user_id}
GET /webapi/user/{own_user_id} HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
{
  "result": {}
}

Create User

post
/webapi/user/{own_user_id}

This API allows you to create a new user or retrieve an existing one by their own_user_id.

Headers

  • API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.

  • AGENT-EMAIL (string, optional): The email address of the agent performing the API call.

  • USER-EMAIL (string, optional): The email address to associate with the user.

  • OWN-USER-ID (string, optional): The user ID to identify or create a user.

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

Successfully created user

application/json
resultobjectOptional
post/webapi/user/{own_user_id}
POST /webapi/user/{own_user_id} HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
{
  "result": {}
}

List User Custom Variables

get
/webapi/user/{own_user_id}/customer_variables

This API allows you to retrieve all settable custom variables for a specific user.

Headers

  • API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.

  • AGENT-EMAIL (string, optional): The email address of the agent performing the API call.

  • USER-EMAIL (string, optional): The email address to associate with the user.

  • OWN-USER-ID (string, optional): The user ID to identify or create a user.

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

Successfully retrieved user custom variables

No content

get/webapi/user/{own_user_id}/customer_variables
GET /webapi/user/{own_user_id}/customer_variables HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*

No content

Get User Custom Variable

get
/webapi/user/{own_user_id}/customer_variable/{variable_name}

This API allows you to retrieve a specific custom variable value for a user.

Headers

  • API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.

  • AGENT-EMAIL (string, optional): The email address of the agent performing the API call.

  • USER-EMAIL (string, optional): The email address to associate with the user.

  • OWN-USER-ID (string, optional): The user ID to identify or create a user.

Authorizations
API-KEYstringRequired

Your API key for authentication

Path parameters
own_user_idstringRequired
variable_namestringRequired
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 user custom variable

No content

get/webapi/user/{own_user_id}/customer_variable/{variable_name}
GET /webapi/user/{own_user_id}/customer_variable/{variable_name} HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*

No content

Update User Custom Variable

post
/webapi/user/{own_user_id}/customer_variable/{variable_name}

This API allows you to update a specific custom variable value for a user.

Headers

  • API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.

  • AGENT-EMAIL (string, optional): The email address of the agent performing the API call.

  • USER-EMAIL (string, optional): The email address to associate with the user.

  • OWN-USER-ID (string, optional): The user ID to identify or create a user.

Request Body

  • value (string, required): The new value for the custom variable. For category variables, provide the category element ID.

Authorizations
API-KEYstringRequired

Your API key for authentication

Path parameters
own_user_idstringRequired
variable_namestringRequired
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
valuestringOptional
Responses
200

Successfully updated user custom variable

No content

post/webapi/user/{own_user_id}/customer_variable/{variable_name}
POST /webapi/user/{own_user_id}/customer_variable/{variable_name} HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 16

{
  "value": "text"
}

No content

Agent Management

post
/webapi/agent_management

This API allows you to create or delete agents (project members) from the project.

Headers

  • API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.

  • AGENT-EMAIL (string, optional): The email address of the agent performing the API call.

  • USER-EMAIL (string, optional): The email address to associate with the user.

  • OWN-USER-ID (string, optional): The user ID to identify or create a user.

Request Body

  • email (string, required): The email of the agent you want to create or delete.

  • deleteFlag (boolean, required): Set to true to delete an agent, false to create.

  • password (string, optional): Required when creating a new agent. Must contain at least 3 out of 4 character types (lowercase, uppercase, numeric, non-alphanumeric).

  • locale (string, optional): Two-letter ISO 639-1 language code for the new account.

  • permission_group_id (string, optional): ID of the permission group to assign.

  • permission_group_name (string, optional): Name of the permission group to assign.

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