User Management
Project Member and user related APIs
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.
Your API key for authentication
0100Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
OK
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
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"
}
]
}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.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
OK
Global ID of the agent.
Agent last name.
Agent first name.
Agent email address.
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
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"
}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, ordelete.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
createandupdate. Supported keys:EMAIL,FIRST_NAME,LAST_NAME,CUSTOMER_GROUP.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
Operation applied to every user in users.
OK
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
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"
}
]
}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.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
OK
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
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"
}
}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.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
Request for bulk inviting members.
OK
Response for bulk member operations.
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
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"
}
]
}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.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
Request for bulk updating member permission groups.
OK
Response for bulk member operations.
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
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"
}
]
}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.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
Request for bulk removing members.
OK
Response for bulk member operations.
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
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"
}
]
}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.
Your API key for authentication
1000Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
OK
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
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
}
]
}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 [].
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
Permission group name.
Global IDs of the agents to add to the group.
OK
Global ID of the permission group.
Permission group name.
True for the admin group, which has admin privileges.
True for the group that new members join by default.
Group order (0 admin, 1 super member, 2 member for the built-in groups). None when unset.
Permission names granted to the group.
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
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"
}
]
}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.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
OK
Global ID of the permission group.
Permission group name.
True for the admin group, which has admin privileges.
True for the group that new members join by default.
Group order (0 admin, 1 super member, 2 member for the built-in groups). None when unset.
Permission names granted to the group.
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
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"
}
]
}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.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
OK
No content
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
DELETE /webapi/v2/permission_groups/{permission_group_id} HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
No content
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.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
OK
Global ID of the agent.
Agent last name.
Agent first name.
Agent email address.
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
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"
}
]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.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
New permission group name.
OK
Global ID of the permission group.
Permission group name.
True for the admin group, which has admin privileges.
True for the group that new members join by default.
Group order (0 admin, 1 super member, 2 member for the built-in groups). None when unset.
Permission names granted to the group.
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
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
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.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
OK
Global ID of the permission group.
Permission group name.
True for the admin group, which has admin privileges.
True for the group that new members join by default.
Group order (0 admin, 1 super member, 2 member for the built-in groups). None when unset.
Permission names granted to the group.
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
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"
}
]
}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.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
Successfully retrieved single action app tools
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
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"
}
]
}
]
}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.
Your API key for authentication
Name of the tool to retrieve
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
Successfully retrieved the single action app tool
Indicates if the operation was successful
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Tool not found
Internal server error.
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"
}
]
}
}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.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
Successfully retrieved agent tools
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
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
}
]
}
]
}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.
Your API key for authentication
Name of the agent tool to retrieve
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
Successfully retrieved the agent tool
Indicates if the operation was successful
The agent tool data
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Agent tool not found
Internal server error.
GET /webapi/agent_builder/agent_tool/{tool_name} HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
{
"success": true,
"tool": {}
}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.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
OAuth2 state parameter to identify the OAuth configuration
Successfully retrieved OAuth2 information
Indicates if the operation was successful
Bad request - invalid input
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
OAuth2 information not found
Internal server error.
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"
}
}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.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
OAuth2 state parameter to identify the OAuth configuration
Updated token information
Timestamp when the token was generated
Successfully updated OAuth2 information
Indicates if the operation was successful
Bad request - invalid input
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
OAuth2 information not found
Internal server error.
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
}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.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
Successfully updated variables
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
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
}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.
Your API key for authentication
100Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
Successfully retrieved users
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
GET /webapi/users HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
{
"result": [
{}
],
"count": 1,
"totalCount": 1
}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.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
Successfully retrieved user
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
GET /webapi/user/{own_user_id} HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
{
"result": {}
}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.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
Successfully created user
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
POST /webapi/user/{own_user_id} HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
{
"result": {}
}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.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
Successfully retrieved user custom variables
No content
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
GET /webapi/user/{own_user_id}/customer_variables HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
No content
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.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
Successfully retrieved user custom variable
No content
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
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
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.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
Successfully updated user custom variable
No content
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
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
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
trueto delete an agent,falseto 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.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
The email of the agent you want to create or delete
True if you want to delete an agent, False if you want to create
Required when creating a new agent. Password must be valid (contain 3 out 4 following characters - lowercase, uppercase, numeric, non-alphanumeric)
The language setting of the account being created. Use a two-letter ISO 639-1 code
ID of the permission group to assign to the agent
Name of the permission group to assign to the agent
Agent edited successfully
Invalid parameters
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Agent not found
Internal server error.
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