← All methods

video.save

Creates a video row and returns upload_url. is_private=1 creates a private message video (as in VK): it is omitted from lists, search, the sitemap and the wall, and is only available to the conversation participants. is_private is ignored for community videos.

Parameters

Parameter Type Required Description
name string no Title.
description string no Description.
is_private integer no 1 — private video for a message. Cannot be combined with group_id.
group_id integer no Community to upload the video to.
album_id integer no Album id.
no_comments integer no Disable comments.
privacy_view string no Who can view the video (when not is_private).
privacy_comment string no Who can comment.

Example

curl -s -X POST 'https://durovloh.net/api.php' \
  -d 'method=video.save' \
  -d 'access_token=USER_TOKEN'