KnowledgeBase import job

Hi,
We would like to import articles into Genesys for WebMessaging using our existing Help content that is hosted in a different service. Ideally this would be imported in bulk for an initial load and later on they would be synced by using the /v2/knowledge/knowledgebase/{id}/documents/{id}/variation endpoints.

I'm trying to wrap my head around the https://developer.genesys.cloud/devapps/api-explorer#post-api-v2-knowledge-documentuploads endpoint and its kind https://developer.genesys.cloud/devapps/api-explorer#post-api-v2-knowledge-knowledgebases--knowledgeBaseId--import-jobs. What is the expected format for a JSON document uploaded to S3? There is no documentation around the expected format so it is very difficult to integrate with it.

I tried a very simple JSON array with the document endpoint POST body but that does not pass validation. Likewise, the validation errors outputted do not give any hints as to what the error may be, since it just says that it does not expect an array to be the first character. And if I were to just include a single document with title, visibility and externalID the result is just an internal server error.

It would be great if this functionality was better documented. Thank you

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.