Developers » API methods » Docs » docs.add
Copies a document to a user's or community's document list.
This method can be called with a user token. Access rights required: docs.
owner_idID of the user or community that owns the document.
Use a negative value to designate a community ID. For example owner_id = -1 corresponds to VKontakte API (club1) community ID.

int (number), required parameter
doc_idDocument ID.
positive number, required parameter
access_keyAccess key. This parameter is required if access_key was returned with the document's data.
Returns the ID of the created document.
Global errors can occur while running. See their descriptions on this page.