Creating a group
Creates a group for sending push messages to the specified application.
Request format
POST https://push.api.appmetrica.yandex.net/push/v1/management/groups
Request body
{
"group": {
"app_id": int,
"name": "string",
"send_rate": int
}
}
|
Group for sending push messages. |
|
App ID to create the group for. |
|
Unique name of the group. |
|
Dispatch speed limit for push messages (messages per second). The default value is 5000 (maximum). The minimum value is 100. |
Response format
{
"group": {
"id": int,
"app_id": int,
"name": "string",
"send_rate": int
}
}
|
Group for sending push messages. |
|
ID of the created group. |
|
App ID to create the group for. |
|
Unique name of the group. |
|
Dispatch speed limit for push messages (messages per second). The default value is 5000 (maximum). The minimum value is 100. |
Sample request
curl -X POST \ https://push.api.appmetrica.yandex.net/push/v1/management/groups \ -H 'Authorization: OAuth AQAAAAAR62cMAAQgnh4fTgjnrEH...' \ -H 'Content-Type: application/json' \ -d '{ "group": { "app_id": XXXXXX, "name": "group-name", "send_rate": 200 } }'
If you didn't find the answer you were looking for, you can use the feedback form to submit your question. Please describe the problem in as much detail as possible. Attach a screenshot if possible.
A group is a container for sending push messages. It allows grouping messages sendings in the push campaign report. The group can contain an arbitrary number of sendings. The push campaign report displays these groups at the first level along with push campaigns that are launched through the web interface.