Asynchronous API: publish a video to YouTube
Publish one video to the authenticated user's connected YouTube channel. Connect and verify the channel in the YouTube publishing service before calling this endpoint.
Endpoint: POST https://mxprocess.com/api/files/start-process
Authentication: Bearer JWT from POST /api/login_check
Accepted source: an uploaded video or HTTPS video URL.
Parameters
title— required, maximum 100 characters.description— optional, maximum 5,000 characters;tagsis optional, maximum 500 characters.privacyStatus—private,unlistedorpublic.defaultLanguage— optional language code, for exampleenorfr.madeForKids— optional boolean. Additional optional fields arecategoryId,license,publishAt,playlistId,locationDescription,latitudeandlongitude.
Start a publication
To publish a remote file, omit file and send fileUrl=https://example.com/video.mp4. The video source is required. Use an ISO 8601 date-time for publishAt when scheduling publication.
Track the action
Review the returned action result and the publication in YouTube Studio, especially for public videos.