Developers » API methods » Docs » docs.getTypes
Returns documents types available for current user.
This method can be called with a user token. Access rights required: docs.
owner_idID of the user or community that owns the documents.
Use a negative value to designate a community ID. For example owner_id = -1 corresponds to VKontakte API (club1) community ID.

int (number), current user id is used by default, required parameter
Returns the total results number in count field and an array of objects describing document type in items field.

Each object in items array contains the following fields:
  • id (integer) Ś type ID;
  • name (string) Ś type name;
  • count (integer) Ś amount of documents.
Global errors can occur while running. See their descriptions on this page.