Hashtags
Hashtag related APIs
This API lets you approve or decline classification hashtags for documents
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
Auto hashtag feedback submitted successfully
Invalid parameters
POST /webapi/kb_auto_hashtag_feedback HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 55
{
"autoHashtagFeedbacks": [
{
"id": "text",
"state": "text"
}
]
}
{
"result": [
{
"id": "text",
"state": "text"
}
]
}
Gets all hashtags from both FAQs and Knowledge Bases with their usage counts
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 hashtags
GET /webapi/hashtags HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
Successfully retrieved hashtags
{
"result": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
This API lets you get the hashtag list with classification keywords for the documents
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 document ids you want to retrieve auto hashtags for
Auto hashtags retrieved successfully
Invalid parameters
POST /webapi/kb_auto_hashtag HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 10
{
"ids": []
}
{
"result": {
"updated": [
{
"id": "text",
"autoHashtags": [
{
"id": "text",
"state": "text",
"bestConfidence": 1,
"autoHashtag": {
"hashtag": "text"
}
}
]
}
]
},
"errors": {}
}
Was this helpful?