Alli AnswerBot allows you to build personalized user interaction, give your users full access to your knowledge base, and transform your team's operation efficiency across web and mobile.
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.
This API executes a skill and returns the final text answer as json format. Please follow the link under the 'Learn More about Variables' below for more information about the variables parameter. This API can be used for the entity extraction if the skill is designed for the entity extraction.
Headers
Request Body
{"result": "TEXT RESULT FROM SKILL", "errors": []}
{"result": "TEXT RESULT FROM SKILL", "errors": []}
Name
Type
Description
Name
Type
Description
Name
Type
Description
Name
Type
Description
Name
Type
Description
Name
Type
Description
Name
Type
Description
Name
Type
Description
Name
Type
Description
Name
Type
Description
Name
Type
Description
Name
Type
Description
API-KEY
string
Your API key can be found in your dashboard Settings menu, under the General tab.
OWN-USER-ID
string
The user id of the user who opens the conversation.
USER-EMAIL
string
Email address of the user who opens the conversation
placement
string
Used to match which Skill to start the conversation with.
API-KEY
string
Your API key can be found in your dashboard Settings menu, under the General tab.
message
string
The message to send in the conversation. Cannot be null or an empty string.
conversationId
string
Unique id for the conversation you want to send a message in.
API-KEY
string
Your API key can be found in your dashboard Settings menu, under the General tab.
startDate
string
Start of range of dates to query in YYYY-MM-DD format.
endDate
string
End of range of dates to query in YYYY-MM-DD format.
API-KEY
string
Your API key can be found in your dashboard Settings menu, under the General tab.
endDate
string
End of range of dates to query in YYYY-MM-DD format.
startDate
string
Start of range of dates to query in YYYY-MM-DD format.
API-KEY
string
Your API key can be found in your dashboard Settings menu, under the General tab.
startDate
string
Start of range of dates to query in YYYY-MM-DD format.
endDate
string
End of range of dates to query in YYYY-MM-DD format.
API-KEY
string
Your API key can be found in your dashboard Settings menu, under the General tab.
topN
number
Top N of the most frequently asked Q&A. Maximum value for N is 20. Please use 1, 5, 10, or 20 for N.
startDate
string
Start of range of dates to query in YYYY-MM-DD format.
endDate
string
End of range of dates to query in YYYY-MM-DD format.
API-KEY
string
Your API KEY can be found in your Dashboard Settings menu under the general tab
id
string
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.
text
string
This is an input text for the skill execution.
variables
object
variables is a JSON object to set the variables in the skill.