Manage knowledge base content. Supports creating, fetching, updating, saving (upsert), and deleting articles; deleting an article by migration details; keyword, search, and AI search over articles; bulk translation; fetching linked assets; and fetching or searching version history.
Security
bearerAuth and apiKeyAuth
- Production Serverhttps://api3.sprinklr.com/prod/api/v3/knowledgebase/article
- Mock serverhttps://developer.sprinklr.com/_mock/apis/sprinklr-v3/knowledgebase/article
curl -i -X POST \
https://api3.sprinklr.com/prod/api/v3/knowledgebase/article \
-H 'Authorization: Bearer <YOUR_Token_HERE>' \
-H 'Content-Type: application/json' \
-H 'Key: YOUR_API_KEY_HERE' \
-d '{
"contributors": [
0
],
"tags": [
"string"
],
"content": {
"property1": {},
"property2": {}
},
"publicContent": true,
"originType": "string",
"externalContent": true,
"favourite": true,
"publishingDate": 0,
"communityPermalink": "string",
"externalPermalink": "string",
"externalThumbnail": "string",
"mappedProjectId": "string",
"mappedCommunityMessageId": "string",
"partnerCustomProperties": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"clientCustomProperties": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"status": "string",
"additional": {
"property1": {},
"property2": {}
},
"shareConfigs": [
{
"shareLevel": "string",
"sharedWithIds": [
"string"
],
"permissions": [
"string"
],
"endDate": 0
}
],
"grants": [
"string"
],
"folderMetadata": {
"serialVersionUID": {},
"folderId": "string",
"confidential": true
},
"nominationInfo": {
"status": {
"resultType": "string",
"languageCode": "string",
"createdAt": 0,
"idStr": "string",
"id": 0,
"text": "string",
"source": "string",
"inReplyToStatusId": 0,
"inReplyToStatusIdStr": "string",
"inReplyToUserId": 0,
"inReplyToUserIdStr": "string",
"userId": 0,
"userIdStr": "string",
"userName": "string",
"userScreenName": "string",
"userBio": "string",
"userLocation": "string",
"inReplyToScreenName": "string",
"profileUrl": "string",
"profileImgUrl": "string",
"retweetedStatus": {},
"followersCount": 0,
"friendsCount": 0,
"statusCount": 0,
"listedCount": 0,
"favoriteCount": 0,
"userCreatedTime": 0,
"hashtags": [
"string"
],
"mentions": [
"string"
],
"toUserId": 0,
"toUserIdStr": "string"
},
"nominatedByUserInfo": {
"serialVersionUID": {},
"communityUserId": "string",
"fullName": "string",
"profileImageUrl": "string",
"username": "string",
"color": "string",
"bgColor": "string",
"loginMethod": "string",
"bio": "string",
"profileUrl": "string",
"userCreatedTime": "string",
"signature": "string",
"status": "string"
},
"nominatedPostId": "string",
"kbContentId": "string",
"projectId": "string",
"insightHubNomination": true,
"insightsHubNominationInfo": {
"insightId": "string",
"insightGroupConfigId": "string",
"insightGroupConfigName": "string",
"nominationTitle": "string",
"nominationDescription": "string"
},
"nominationType": {},
"aiRefinementScore": 0.1,
"relatedKbContentIds": [
"string"
],
"kbaiNominationDetails": {
"primaryContentId": "string",
"groupedFactDetails": [
{
"groupId": "string",
"groupedFactTitle": "string",
"responses": [
{}
]
}
]
},
"recommendedTitle": "string",
"recommendedContent": "string",
"statusResolvedByUserId": 0,
"displayName": "string",
"hidden": true
},
"migrationDetails": {
"migratedFrom": "string",
"migratedId": "string",
"migratedSlug": "string",
"migrationKey": "string"
},
"locale": "string",
"countryCodes": [
"string"
],
"lngVariants": [
"string"
],
"contentTemplateId": "string",
"languageSettingId": "string",
"stats": {
"recommendCount": 0,
"usageCount": 0,
"ratingCount": 0,
"ratingAvg": 0.1,
"agentViewCount": 0,
"communityViewCount": 0,
"livechatViewCount": 0,
"helpfulCount": 0,
"notHelpfulCount": 0,
"communityHelpfulCount": 0,
"communityNotHelpfulCount": 0,
"livechatHelpfulCount": 0,
"livechatNotHelpfulCount": 0,
"externalViewCount": 0,
"externalHelpfulCount": 0,
"externalNotHelpfulCount": 0
}
}'Response
{ "data": {}, "errors": [ { … } ], "metadata": {} }