POST
/
meta
/
upload_video
Upload Video
curl --request POST \
  --url https://public.plai.io/meta/upload_video \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "userId": "<string>",
  "videoUrl": "<string>"
}'
{
  "success": true,
  "results": {
    "success": true,
    "videoId": "<string>",
    "error": "<string>"
  }
}

Request Body

userId
string
required
User ID, If not already created, make a user on create user page first. If already created, retrieve the user ID from get profile page.
videoUrl
string
required
URL pointing to the video file. Must be a publicly accessible HTTPS URL (e.g., Google Cloud Storage URL).

Response

success
boolean
Indicates that the HTTP response was successful (status code 200 OK).
results
object