cURL
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>" } }
This endpoint is used to upload your video to your ad account and get video id.
Show Results Object