Video Direct UploadsCreate direct Upload
Video Direct Uploads

Create direct Upload

curl -X POST "https://api.videograph.ai/video/services/api/v1/uploads" \
  -H "Content-Type: application/json" \
  -H "Content-Type: example_string" \
  -H "Accept: example_string" \
  -H "Authorization: Basic YOUR_CREDENTIALS" \
  -d '{
  "file_name": "John Doe",
  "timeout": 42,
  "cors_origin": "example_string",
  "content": {
    "title": "example_string",
    "description": "example_string",
    "watermark": [
      {
        "url": "example_string",
        "x_pos": "example_string",
        "y_pos": "example_string",
        "x_margin": "example_string",
        "y_margin": "example_string",
        "x_align": "left",
        "y_align": "top",
        "width": "example_string",
        "height": "example_string",
        "opacity": "New York"
      }
    ],
    "subtitle": [
      {
        "url": "example_string",
        "name": "John Doe",
        "language_code": "example_string",
        "support_closed_captions": true
      }
    ],
    "tags": [
      "example_string"
    ],
    "metadata": [
      {
        "key": "example_string",
        "value": "example_string"
      }
    ],
    "playback_policy": [
      "public"
    ],
    "mp4_support": true,
    "save_original_copy": true
  }
}'
{
  "id": "zd01Pe2bNpYhxbrwYABgFE01twZdtv4M00kts2i02GhbGjc",
  "url": "https://yupptv-metadata.s3.ap-southeast-1.amazonaws.com/phani/config.json?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20220310T110243Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3599&X-Amz-Credential=AKIAIOSFODNN7EXAMPLE%2F20220310%2Fap-southeast-1%2Fs3%2Faws4_request&X-Amz-Signature=4aa631e30076814c2555b2024b8634064df7c185f5aada4a80ee5ce40411f6a1",
  "cors_origin": "https://example.com/",
  "timeout": 3600,
  "status": "Waiting"
}
POST
/video/services/api/v1/uploads
POST
Security Scheme
Basic Authentication
Usernamestring
Required

Username for basic authentication

Passwordpassword
Required

Password for basic authentication

Content-Typestring
Required

The media type of the request body

Options: application/json
file_namestring
Required

Name of the file

timeoutinteger

Timeout of the file in seconds

Format: int64
cors_originstring

Cors origin ex - Allowed domain

contentobject

Content description

Request Preview
Response

Response will appear here after sending the request

Authentication

basicAuth
header
Authorizationstring
Required

Basic authentication credentials. Provide username and password encoded in Base64 format: Basic base64(username:password)

Headers

Body

application/json
file_namestring
Required

Name of the file

timeoutinteger

Timeout of the file in seconds

cors_originstring

Cors origin ex - Allowed domain

contentobject

Content description

Responses

Was this page helpful?
Built with Documentation.AI

Last updated Dec 29, 2025