Developers » API methods » Apps » apps.sendRequest
Appsapps.sendRequest
Sends a request to another user in an app that uses VK authorization.

The method requires the use of a confirmation window. Sending requests in applications that are not from Mobile Platform is available to app's administrators only.
This method can be called with a user token received in Standalone-app via Implicit Flow.
Parameters
user_idReceiver ID.
positive number, required parameter
textRequest text.
string
typeRequest type. Possible values:
  • invite if the request is sent to a user who does not have the app installed;
  • request if a user has already installed the app.

N.B. For request with type = invite, there is a restriction - you can not send a request more than once per week to a single user.

string, default request
nameUnique name of the request kind (inside the application).
string, maximum length 128
keySpecial string key to be sent with the request.
string
separate1 to prohibit grouping the request with others having the same name. By default: 0.
flag, either 1 or 0
Result
If executed successfully, returns the created request's id, for example: 10013.
Errors
Global errors can occur while running. See their descriptions on this page.
Version historyShow all
5.25
Correct errors in apps.sendRequest method
Affects methods apps.sendRequest