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

# Complete a video upload

> Marks an upload as finished after the file has been sent to the `upload_url` from `POST /recordings/uploads`. NeetoRecord reads the real file size from storage and starts processing the video.

> [!NOTE]
>
> Replace `{your-subdomain}` with your workspace's subdomain. \
> Learn how to find your subdomain in [Workspace subdomain](https://apidocs.neetorecord.com/api/workspace-subdomain.md).


## OpenAPI

````yaml bundled/recordings.yaml POST /recordings/{id}/complete-upload
openapi: 3.0.3
info:
  title: NeetoRecord Recordings APIs
  version: 2.0.0
servers:
  - description: NeetoRecord APIs
    url: https://{your-subdomain}.neetorecord.com/api/external/v2
    variables:
      your-subdomain:
        default: spinkart
        description: >-
          Replace **spinkart** with your [workspace's
          subdomain](/api/workspace-subdomain).
security: []
tags:
  - name: Recordings
    description: APIs to retrieve and manage recordings in your workspace.
paths:
  /recordings/{id}/complete-upload:
    post:
      tags:
        - Recordings
      summary: Complete a video upload
      description: >-
        Marks an upload as finished after the file has been sent to the
        `upload_url` from `POST /recordings/uploads`. NeetoRecord reads the real
        file size from storage and starts processing the video.
      parameters:
        - $ref: '#/components/parameters/api_key_header'
        - $ref: '#/components/parameters/accept_header'
        - $ref: '#/components/parameters/recording_id_param'
      responses:
        '200':
          description: The upload was accepted and the video is being processed.
          content:
            application/json:
              schema:
                type: object
                required:
                  - recording
                properties:
                  recording:
                    $ref: '#/components/schemas/upload_recording'
              example:
                recording:
                  id: 3f6a1c58-9b2e-4d77-8a10-5c0b1e2f3a4d
                  title: Quarterly product demo
                  url: >-
                    https://your-workspace.neetorecord.com/watch/x9y8z7w6v5u4t3s2
        '403':
          $ref: '#/components/responses/recording_forbidden'
        '404':
          $ref: '#/components/responses/recording_not_found'
        '422':
          description: >-
            The file is not in storage yet, or the stored file is over 2 GB or
            over the owner's remaining upload storage.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
              example:
                error: >-
                  The video file has not been uploaded yet. Upload it to the
                  upload URL first.
components:
  parameters:
    api_key_header:
      in: header
      name: X-Api-Key
      description: >-
        API key. Refer to [Authentication](/api/authentication) for more
        information.
      required: true
      schema:
        type: string
    accept_header:
      in: header
      name: Accept
      description: Must be `application/json`.
      required: true
      schema:
        type: string
        enum:
          - application/json
        default: application/json
    recording_id_param:
      in: path
      name: id
      required: true
      description: >-
        The recording's `id` (UUID) or its `public_link_id` (the short code in
        the watch URL). Both are accepted.
      schema:
        type: string
  schemas:
    upload_recording:
      type: object
      properties:
        id:
          type: string
          description: >-
            Unique identifier (UUID) for the recording. Pass it to the
            complete-upload endpoint.
        title:
          type: string
          description: Title of the recording.
        url:
          type: string
          description: Watch URL of the recording once it is processed.
    error:
      type: object
      properties:
        error:
          type: string
          description: A human readable error message.
  responses:
    recording_forbidden:
      description: The caller is not allowed to access this recording.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/error'
          example:
            error: You are not authorized to perform this action.
    recording_not_found:
      description: The recording does not exist in this workspace.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/error'
          example:
            error: Recording does not exist.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.