- Update knowledge base article(s)
Create knowledge base article
Fetch knowledge base article(s)
Delete knowledge base article
AI search knowledge base articles
Bulk translate knowledge base articles
Delete article by migration details
Save (upsert) knowledge base article
Search knowledge base articles
Fetch linked assets
Fetch version history by id
Search version history
Update knowledge base art...
Security
bearerAuth and apiKeyAuth
Items Enum:"SYNC_TAGS""FOLDER_METADATA""CONTENT""SYNC_INLINE_COMMENT""STATUS_UPDATE_ONLY""STATUS""RESTORE_ARCHIVED""MARK_IN_ACTIVE""STATS""INC_AGENT_VIEW_COUNT"
- Production Serverhttps://api3.sprinklr.com/prod/api/v3/knowledgebase/article
- Mock serverhttps://developer.sprinklr.com/_mock/apis/sprinklr-v3/knowledgebase/article
curl -i -X PUT \
'https://api3.sprinklr.com/prod/api/v3/knowledgebase/article?contentId=string' \
-H 'Authorization: Bearer <YOUR_Token_HERE>' \
-H 'Content-Type: application/json' \
-H 'Key: YOUR_API_KEY_HERE' \
-d '{
"contentIds": [
"string"
],
"updateLngVariants": true,
"idVersionMap": {
"property1": 0,
"property2": 0
},
"updateActions": [
"SYNC_TAGS"
],
"esRefreshInline": true,
"updateVariants": true,
"restrictedUpdate": true,
"baseLngContentUpdated": true,
"syncedTags": [
"string"
],
"folderMetadata": {
"serialVersionUID": {},
"folderId": "string",
"confidential": true
},
"content": {
"property1": {},
"property2": {}
},
"status": "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
},
"helpfulCount": 0,
"notHelpfulCount": 0,
"lngVariants": [
"string"
],
"inactiveLngVariants": [
"string"
],
"inactiveLngVariantsToRestore": [
"string"
],
"relatedFolderIds": [
"string"
],
"relatedFolderIdsToAdd": [
"string"
],
"relatedFolderIdsToRemove": [
"string"
],
"hasConditionalSection": true,
"locale": "string",
"countryCodes": [
"string"
],
"countryCodesToSyncInBaseContent": {
"property1": "string",
"property2": "string"
},
"countryVariants": [
"string"
],
"versionToRestore": 0,
"restoreBaseWithLngVariantsDTO": {},
"agentViewCount": 0,
"communityViewCount": 0,
"livechatViewCount": 0,
"externalViewcount": 0,
"publishScheduledDate": 0,
"publishReminderDate": 0,
"publishingDate": 0,
"unPublishScheduledDate": 0,
"unPublishReminderDate": 0,
"archiveScheduleDate": 0,
"archiveScheduleStatus": "string",
"timeZone": "string",
"selectedCustomProperties": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"migrationDetails": {
"migratedFrom": "string",
"migratedId": "string",
"migratedSlug": "string",
"migrationKey": "string"
},
"approvalDetails": {
"currentTaskId": 0,
"currentTaskStatus": "string",
"currentTaskOwnerId": 0,
"currentTaskAssigneeType": "string",
"currentTaskAssigneeId": 0,
"provisionedUsersForApprovalQueue": [
0
],
"approvalPathId": "string",
"approvalProcessStatus": {}
},
"approvalActionRequest": {
"taskId": 0,
"taskVersion": 0,
"comment": "string"
},
"ownerUserId": 0,
"externalPermalink": "string",
"variantContentDTO": {
"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
}
},
"countryVariantDTO": {},
"addPublishedCountryVariants": {
"property1": "string",
"property2": "string"
},
"removePublishedCountryVariants": [
"string"
],
"mapVariants": true,
"contributors": [
0
],
"additionalToAdd": {
"property1": {},
"property2": {}
},
"lngVariantOriginType": "string",
"sourceContentId": "string",
"baseLocale": "string",
"processType": "string",
"processUniqueId": "string"
}'Response
{ "data": {}, "errors": [ { … } ], "metadata": {} }