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

Group for sending push messages.

group.app_id*

App ID to create the group for.

group.name*

Unique name of the group.

group.send_rate

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

Group for sending push messages.

group.id

ID of the created group.

group.app_id

App ID to create the group for.

group.name

Unique name of the group.

group.send_rate

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.

Contact support