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

# Create a remote upload

> Queues an HTTP or HTTPS URL for import.

URLs on a recognized Videobase or supported internal video domain are copied immediately instead of entering the queue. Queue capacity is 100 active items for regular accounts and 150 for premium accounts.




## OpenAPI

````yaml /openapi.yaml post /v1/upload/url
openapi: 3.1.0
info:
  title: Videobase API
  version: 1.0.0
  description: >
    Manage Videobase accounts, uploads, folders, videos, thumbnails, and
    subtitles.


    All operations require a Videobase API key. Header authentication is
    recommended.
servers:
  - url: https://api.videobase.com
    description: Production
security:
  - ApiKeyHeader: []
  - ApiKeyQuery: []
tags:
  - name: Account
    description: Account details and reports.
  - name: Uploads
    description: Direct and remote upload workflows.
  - name: Folders
    description: Folder organization.
  - name: Videos
    description: Video metadata and presentation settings.
  - name: Subtitles
    description: Video subtitle tracks.
paths:
  /v1/upload/url:
    post:
      tags:
        - Uploads
      summary: Create a remote upload
      description: >
        Queues an HTTP or HTTPS URL for import.


        URLs on a recognized Videobase or supported internal video domain are
        copied immediately instead of entering the queue. Queue capacity is 100
        active items for regular accounts and 150 for premium accounts.
      operationId: createRemoteUpload
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - url
              properties:
                url:
                  type: string
                  format: uri
                  description: Publicly reachable HTTP or HTTPS URL.
                folder:
                  type: integer
                  minimum: 0
                  default: 0
                  description: Destination folder ID.
                name:
                  type: string
                  description: Optional title for the imported video.
      responses:
        '200':
          description: Queued remote upload or completed internal copy.
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/QueuedRemoteUpload'
                  - $ref: '#/components/schemas/CreatedVideo'
        '500':
          $ref: '#/components/responses/Error'
components:
  schemas:
    QueuedRemoteUpload:
      type: object
      required:
        - id
        - name
        - slots
      properties:
        id:
          $ref: '#/components/schemas/VideoId'
        name:
          type: string
        slots:
          type: object
          required:
            - used
            - total
          properties:
            used:
              type: integer
              minimum: 0
            total:
              type: integer
              minimum: 0
    CreatedVideo:
      type: object
      required:
        - id
        - links
      properties:
        id:
          $ref: '#/components/schemas/VideoId'
        links:
          $ref: '#/components/schemas/Links'
    VideoId:
      type: string
      pattern: ^\w{12}$
      minLength: 12
      maxLength: 12
      description: Twelve-character Videobase video or remote-upload identifier.
      example: a1b2c3d4e5f6
    Links:
      type: object
      required:
        - download
        - embed
      properties:
        download:
          type: string
          format: uri
        embed:
          type: string
          format: uri
    Error:
      type: object
      required:
        - message
        - status
      properties:
        message:
          type: string
          description: Human-readable failure reason. Do not treat it as a stable enum.
        status:
          type: integer
          const: 500
  responses:
    Error:
      description: >-
        Application error. The current API uses HTTP 500 for authentication,
        validation, missing-resource, rate-limit, and server failures.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            message: File not found
            status: 500
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: X-Api-Key
      description: Recommended. Your 16-character Videobase API key.
    ApiKeyQuery:
      type: apiKey
      in: query
      name: key
      description: >-
        Legacy alternative. Prefer `X-Api-Key` because query strings are
        commonly logged.

````