# Content Import

Content import and validation operations for bulk knowledge content management.
These APIs enable you to:
- Import content from Data Sources
- Validate content structure and format before import
- Add custom hooks before or after validation
- Monitor import progress and access detailed logs
- Schedule imports for optimal timing
- Cancel ongoing operations when needed

**Supported Data Sources:**
- Amazon S3 buckets
- SFTP Servers

**Supported Content Formats:**
- Content needs to be in this format:
[Guide to Data Import Format](https://apidev.egain.com/developer-portal/guides/ingestion/data-import-format-guide/)

 - [POST /import/content/{job_id}/pause](https://apidev.egain.com/apis/v4/knowledge/contentmgr/api-bundled/content-import/pauseimportjob.md): # Pause Import Job Temporarily pauses a job that is currently **In Progress**. The job's state is saved and can be resumed within one week, allowing system resources to be freed without losing progres
 - [POST /import/content/{job_id}/resume](https://apidev.egain.com/apis/v4/knowledge/contentmgr/api-bundled/content-import/resumeimportjob.md): # Resume Import Job Resumes a job that is currently in a **In-Progress** state with paused sub-status. Processing will continue from where it left off. ## Resuming Behavior - **Paused Jobs** : The job
 - [POST /import/content](https://apidev.egain.com/apis/v4/knowledge/contentmgr/api-bundled/content-import/createimportjob.md): # Import Content ## Overview This API initiates a bulk content import operation from Data Sources. It creates an asynchronous import job that processes content in the background, allowing you to impor
 - [GET /import/config/hooks](https://apidev.egain.com/apis/v4/knowledge/contentmgr/api-bundled/content-import/getvalidationhooks.md): Retrieve all validation hooks configured for the current environment. Only the current version of each hook is returned.
 - [POST /import/config/hooks](https://apidev.egain.com/apis/v4/knowledge/contentmgr/api-bundled/content-import/createvalidationhook.md): # Create Validation Hook ## Overview This API allows you to create custom JavaScript-based validation hooks that execute during the bulk content ingestion process. Validation hooks enable organization
 - [GET /import/config/hooks/{hookID}/version](https://apidev.egain.com/apis/v4/knowledge/contentmgr/api-bundled/content-import/getvalidationhookversions.md): Retrieve a history of all versions uploaded for a specific validation hook.
 - [POST /import/config/hooks/{hookID}/version](https://apidev.egain.com/apis/v4/knowledge/contentmgr/api-bundled/content-import/createvalidationhookversion.md): Upload a new version of the JavaScript logic for an existing hook.
 - [GET /import/config/hooks/{hookID}/version/{versionID}](https://apidev.egain.com/apis/v4/knowledge/contentmgr/api-bundled/content-import/getvalidationhookversion.md): Get details and content URL for a specific version of a hook.
 - [GET /import/content/{job_id}/status](https://apidev.egain.com/apis/v4/knowledge/contentmgr/api-bundled/content-import/getimportstatus.md): # Get Import Job Status ## Overview This API provides real-time status information for content import and validation operations. Use this endpoint to monitor job progress, check completion status, and
 - [POST /import/content/validate](https://apidev.egain.com/apis/v4/knowledge/contentmgr/api-bundled/content-import/createimportvalidationjob.md): # Validate Import Content ## Overview This API enables users to validate content structure, format, and compliance before importing it into the production knowledge base. Validation is a non-destructi
 - [POST /import/content/{job_id}/cancel](https://apidev.egain.com/apis/v4/knowledge/contentmgr/api-bundled/content-import/cancelimport.md): # Cancel Import or Validation Job ## Overview This API allows users to cancel import or validation operations that are currently in progress or scheduled for future execution. Cancellation is immediat
