vk-audio-api-docs

audio.add

Copies an audio file to a user page or community page.

This method can be called with a user token. Access rights required: audio.

Parameters

audio_id Audio file ID.
positive number, required parameter
owner_id ID of the user or community that owns the audio file. Use a negative value to designate a community ID.
int (number), required parameter
group_id Community ID, needed when adding the audio file to a community (without minus).
int (number)
album_id Album ID.
positive number

Result

Returns the ID of the created audio file.

Errors

Global errors can occur while running. See their descriptions on this page.