App Market

App related APIs

List Apps

get
/webapi/v2/apps

Get a list of apps. The apps are sorted by weight in descending order by default.

Authorizations
API-KEYstringRequired

Your API key for authentication

Query parameters
searchTermany ofOptional

Search term for app name or description

stringOptional
or
nullOptional
categoriesany ofOptional

Filter by app categories

string[]Optional
or
nullOptional
typeany ofOptional

Filter by app type

stringOptional
or
nullOptional
publishedany ofOptional

Filter by published status

booleanOptional
or
nullOptional
pageSizeinteger · min: 1 · max: 100Optional

Number of apps per page

Default: 50
cursorany ofOptional

Cursor for pagination

stringOptional
or
nullOptional
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
chevron-right
200

OK

application/json

Response for listing apps.

cursorany ofOptional

Cursor for pagination

stringOptional
or
nullOptional
get
/webapi/v2/apps
200

OK

Get App By Id

get
/webapi/v2/apps/{app_id}

Get a specific app by ID.

Authorizations
API-KEYstringRequired

Your API key for authentication

Path parameters
app_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
chevron-right
200

OK

application/json

App information.

idstringRequired

Unique ID of the app

namestringRequired

Name of the app

descriptionany ofOptional

Description of the app

stringOptional
or
nullOptional
typestringRequired

Type of the app

categorystringRequired

Category of the app

publishedbooleanRequired

Whether the app is published

get
/webapi/v2/apps/{app_id}
200

OK

Update App

patch
/webapi/v2/apps/{app_id}

Update an app.

Authorizations
API-KEYstringRequired

Your API key for authentication

Path parameters
app_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

Request schema for updating an app.

nameany ofOptional

Name of the app

stringOptional
or
nullOptional
descriptionany ofOptional

Description of the app

stringOptional
or
nullOptional
categoryany ofOptional

Category of the app

stringOptional
or
nullOptional
publishedany ofOptional

Whether the app is published

booleanOptional
or
nullOptional
agentPermissionany ofOptional

Agent permission

or
nullOptional
userPermissionany ofOptional

User permission

or
nullOptional
Responses
chevron-right
200

OK

application/json

App information.

idstringRequired

Unique ID of the app

namestringRequired

Name of the app

descriptionany ofOptional

Description of the app

stringOptional
or
nullOptional
typestringRequired

Type of the app

categorystringRequired

Category of the app

publishedbooleanRequired

Whether the app is published

patch
/webapi/v2/apps/{app_id}
200

OK

Run Conversation App

post
/webapi/v2/apps/{app_id}/run_conversation

Run a campaign app with streaming response.

Executes a campaign (skill/agent) app and returns a streaming response. Supports text messages, button choices, file/media uploads, and form submissions. Always uses multipart/form-data. Pass send_form_input as a JSON string.

Authorizations
API-KEYstringRequired

Your API key for authentication

Path parameters
app_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
conversationIdany ofOptional

Existing conversation ID to continue

stringOptional
or
nullOptional
messageany ofOptional

User message text

stringOptional
or
nullOptional
choicesany ofOptional

Button/option choice indices (JSON array string, e.g. '[0, 1]')

stringOptional
or
nullOptional
sendFormInputany ofOptional

Form submission data (JSON string)

stringOptional
or
nullOptional
filesstring · binary[]Optional
media_filesstring · binary[]Optional
Responses
chevron-right
200

OK

No content

post
/webapi/v2/apps/{app_id}/run_conversation
200

OK

No content

Get Cognitive Config

get
/webapi/v2/cognitive_config

Return the project's cognitive_config as JSON.

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
chevron-right
200

OK

application/json
Other propertiesanyOptional
get
/webapi/v2/cognitive_config
200

OK

Patch Cognitive Config

patch
/webapi/v2/cognitive_config

Partial update of cognitive_config fields.

Request body: flat JSON dict of field_name -> value. Only provided fields are updated; others are unchanged.

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
Other propertiesanyOptional
Responses
chevron-right
200

OK

application/json
Other propertiesanyOptional
patch
/webapi/v2/cognitive_config
200

OK

get
/webapi/apps
Authorizations
API-KEYstringRequired

Your API key for authentication

Query parameters
publishedstringOptional
idstring[]Optional
localestringOptional
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
chevron-right
200

get Apps API success response

application/json
get
/webapi/apps
200

get Apps API success response

post
/webapi/apps
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
user_idstringOptional
typestring · enumRequiredPossible values:
namestringRequired
descriptionstringRequired
categorystringRequired
publishedbooleanRequired
enabledbooleanRequired
Responses
chevron-right
200

create App API success response

application/json
post
/webapi/apps
200

create App API success response

Run LLM App

post
/webapi/apps/{app_id}/run

Execute an LLM App via REST API. Supports JSON requests.

Authorizations
API-KEYstringRequired

Your API key for authentication

Path parameters
app_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
modestring · enumOptional

Execution mode. Use "sync" for synchronous responses or "stream" for streaming responses. Default is "sync".

Default: syncPossible values:
isStatefulbooleanOptional

Whether to maintain conversation state. Set to true to enable conversation history. When true, conversationId must be provided for follow-up messages.

Default: false
conversationIdstringOptional

Conversation ID for continuing a previous conversation. Required when isStateful is true for follow-up messages. Use the conversation.id from the previous response.

llmModelstringOptional

Name of the LLM model to use. Must be a registered model name (lowercase). See model registration documentation for available models.

llmPromptIdstringOptional

ID of the LLM prompt to use

gaPromptGroupIdstringOptional

ID of the Generative Answer prompt group to use

temperaturenumberOptional

Controls the randomness of the output. Higher values make the output more random. Range is typically 0 to 2.

Default: 0
requiredVariablesstring[]Optional

List of required variable names to include in the response

Responses
chevron-right
200

Successfully executed the LLM App

application/json
errorstringOptional

Error message if an error occurred

post
/webapi/apps/{app_id}/run

Executing a Skill

post
/webapi/skill

This API executes a skill and returns the final text answer as JSON format. This API can be used for entity extraction if the skill is designed for that purpose.

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
idstringRequired

This is a skill id. If you click a skill in the Alli Dashboard, the URL is something like https://app.alli.ai/projects/PROJECT_ID/campaigns/SKILL_ID. Please put SKILL_ID here.

textstringRequired

This is an input text for the skill execution.

variablesobjectOptional

Variables is a JSON object to set the variables in the skill. To learn more about variables in Alli, please see the user guide.

Responses
chevron-right
200

Skill executed successfully

application/json
resultstringOptional

The final text output from the skill execution.

errorsstring[]Optional

If any error happens, the error message will be included here.

post
/webapi/skill

Start Conversation

post
/webapi/start_conversation

Start a conversation using a Skill. Note: this endpoint is currently only compatible with Message Node, Q&A Node, and Documents Node.

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
placementstringOptional

Used to match which Skill to start the conversation with.

Responses
chevron-right
200

Successfully started conversation

application/json
errorsobject · nullableOptional
post
/webapi/start_conversation
200

Successfully started conversation

End Conversation by Agent

post
/webapi/end_conversation_by_agent

End a conversation from the agent side.

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
idstringRequired

The conversation ID to end

Responses
chevron-right
200

Conversation ended successfully

application/json
errorsobject · nullableOptional

Error information if the request fails

post
/webapi/end_conversation_by_agent
200

Conversation ended successfully

Send Chat

post
/webapi/send_chat

Send a message as the user for an existing conversation. Note: this endpoint is currently only compatible with Message Node, Q&A Node, and Documents Node.

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
messagestringRequired

The message to send in the conversation. Cannot be null or an empty string.

conversationIdstringRequired

Unique id for the conversation you want to send a message in.

Responses
chevron-right
200

Successfully sent chat

application/json
errorsobject · nullableOptional
post
/webapi/send_chat
200

Successfully sent chat

Last updated