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

# Send video

> # Description

Send uploaded video to Dacast video external service.

# Payload

```json
{
  "id": string,
  "name": string,
  "description": string
}
```

where: 

* `id`: Identifier for the video returned by upload endpoint.  
* `name`: Video file name.  
* `description`: Description for the video.

# Response

## 200 Ok

```json
{
  "id": string,
  "name": string,
  "status": string,
}
```

where: 

* `id`: Identifier for the video passed in the request body.    
* `name`: Video file name passed in the request body.  
* `status`: Video upload status. If the video is uploaded successfully the status will be `uploaded`.  

# 401 Unauthorized

> If you don't have permissions

# 500 Internal Server Error

> If there is a problem with the service

# Description

Send uploaded video to Dacast video external service.

# Payload

```json theme={null}
{
  "id": string,
  "name": string,
  "description": string
}
```

where:

* `id`: Identifier for the video returned by upload endpoint.
* `name`: Video file name.
* `description`: Description for the video.

# Response

## 200 Ok

```json theme={null}
{
  "id": string,
  "name": string,
  "status": string,
}
```

where:

* `id`: Identifier for the video passed in the request body.
* `name`: Video file name passed in the request body.
* `status`: Video upload status. If the video is uploaded successfully the status will be `uploaded`.

# 401 Unauthorized

> If you don't have permissions

# 500 Internal Server Error

> If there is a problem with the service


## OpenAPI

````yaml POST /api/send/video
openapi: 3.0.3
info:
  title: SightX API
  version: 1.0.0
  description: >-
    SightX REST API documentation. Most responses are JSON; some export
    endpoints return files. API access is a paid add-on — contact
    sales@sightx.io for details.
servers:
  - url: https://auth.admin.sightx.io
    description: Authentication (Production)
  - url: https://auth.staging-admin.sightx.io
    description: Authentication (Staging)
security:
  - AuthorizationHeader: []
paths:
  /api/send/video:
    post:
      summary: Send video
      description: >-
        # Description


        Send uploaded video to Dacast video external service.


        # Payload


        ```json

        {
          "id": string,
          "name": string,
          "description": string
        }

        ```


        where: 


        * `id`: Identifier for the video returned by upload endpoint.  

        * `name`: Video file name.  

        * `description`: Description for the video.


        # Response


        ## 200 Ok


        ```json

        {
          "id": string,
          "name": string,
          "status": string,
        }

        ```


        where: 


        * `id`: Identifier for the video passed in the request body.    

        * `name`: Video file name passed in the request body.  

        * `status`: Video upload status. If the video is uploaded successfully
        the status will be `uploaded`.  


        # 401 Unauthorized


        > If you don't have permissions


        # 500 Internal Server Error


        > If there is a problem with the service
      operationId: send-video-post-api-send-video
      parameters:
        - name: Authorization
          in: header
          required: true
          description: Authorization token
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
      responses:
        '200':
          description: Successful response
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '500':
          description: Internal server error
      servers:
        - url: https://upload-video.sightx.io
components:
  securitySchemes:
    AuthorizationHeader:
      type: apiKey
      in: header
      name: Authorization
      description: Access token obtained from the m2m-token endpoint.

````