> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zype.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Video Import

Import a video from a 3rd party source url

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Platform",
    "version": "1.0.0",
    "description": ""
  },
  "servers": [
    {
      "url": "https://api.zype.com/"
    }
  ],
  "security": [
    {
      "api_key": []
    }
  ],
  "components": {
    "securitySchemes": {
      "api_key": {
        "type": "apiKey",
        "name": "api_key",
        "in": "query"
      }
    }
  },
  "paths": {
    "/video_imports": {
      "post": {
        "summary": "Create Video Import",
        "description": "Import a video from a 3rd party source url",
        "operationId": "createVideoImport",
        "tags": [
          "Video Imports"
        ],
        "parameters": [],
        "requestBody": {
          "description": "",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "title": "VideoImportRequest",
                "type": "object",
                "required": [
                  "video_import"
                ],
                "properties": {
                  "video_import": {
                    "title": "VideoImportProperties",
                    "type": "object",
                    "required": [
                      "source_url",
                      "title"
                    ],
                    "properties": {
                      "auto_activate": {
                        "type": "boolean",
                        "description": "Indicate if the video should be set to \"active\" after import to library - default: true"
                      },
                      "auto_add": {
                        "type": "boolean",
                        "description": "Indicate if the video should be added to your library upon import - default: true"
                      },
                      "auto_transcribe": {
                        "type": "boolean",
                        "description": "Indicate if the video should be transcribed - default: false. If the value isn't present, the site auto transcribe flag will be used instead"
                      },
                      "auto_translate": {
                        "type": "boolean",
                        "description": "Indicate if the video should be translated using the site's translation languages - default: false. If the value isn't present, the site default configuration will be used instead"
                      },
                      "description": {
                        "description": "Full length description of the video",
                        "type": "string"
                      },
                      "episode": {
                        "description": "Episode number",
                        "type": "number"
                      },
                      "season": {
                        "description": "Season number",
                        "type": "number"
                      },
                      "source_url": {
                        "description": "URL of the video to import",
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "to_zype_hosted": {
                        "type": "boolean",
                        "description": "Indicate if the video should be transcoded upon import - default: true"
                      },
                      "source_id": {
                        "type": "string",
                        "description": "Optional identifier to relate this video to other platforms."
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "title": "VideoImportResponse",
                  "type": "object",
                  "properties": {
                    "response": {
                      "title": "VideoImport",
                      "type": "object",
                      "properties": {
                        "_id": {
                          "type": "string"
                        },
                        "created_at": {
                          "type": "string"
                        },
                        "deleted_at": {
                          "type": "string"
                        },
                        "description": {
                          "type": "string"
                        },
                        "duration": {
                          "type": "number",
                          "format": "double"
                        },
                        "episode": {
                          "type": "number",
                          "format": "double"
                        },
                        "expires_at": {
                          "type": "string"
                        },
                        "keywords": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "published_at": {
                          "type": "string"
                        },
                        "season": {
                          "type": "number",
                          "format": "double"
                        },
                        "site_id": {
                          "type": "string"
                        },
                        "source_id": {
                          "type": "string"
                        },
                        "source_url": {
                          "type": "string"
                        },
                        "starts_at": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "thumbnails": {
                          "type": "array"
                        },
                        "title": {
                          "type": "string"
                        },
                        "updated_at": {
                          "type": "string"
                        },
                        "upload_id": {
                          "type": "string"
                        },
                        "video_id": {
                          "type": "string"
                        },
                        "video_source_id": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable entity",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1videos/get/responses/422/content/application~1json/schema"
                }
              }
            }
          }
        }
      }
    }
  }
}
```