---
metadata:
  - name: generator
    content: Diplodoc Platform v5.63.4
alternate:
  - https://appmetrica.yandex.com/docs/en/mobile-api/push/post-groups.md
  - https://appmetrica.yandex.com/docs/ru/mobile-api/push/post-groups.md
  - https://appmetrica.yandex.com/docs/zh/mobile-api/push/post-groups.md
  - href: https://appmetrica.yandex.com/docs/zh/mobile-api/push/post-groups.md
    type: text/markdown
    title: Markdown version
  - href: https://appmetrica.yandex.com/docs/zh/llms.txt?revision=r21698989
    rel: describedby
---
> **Documentation Index:** Fetch the complete configuration index at https://appmetrica.yandex.com/docs/zh/llms.txt?revision=r21698989

# 创建组

为指定应用发送推送消息创建[组](*group)。

## 请求格式 {#request-format}

```
POST（提交） https://push.api.appmetrica.yandex.net/push/v1/management/groups
```

## Request body

```json translate=no
{
  "group": {
    "app_id": int,
    "name": "string",
    "send_rate": int
  }
}
```

#|
|| `group` | 用于发送推送消息的组。 ||
|| `组.app_id`* | 要为其创建组的应用 ID。 ||
|| `组名`* | 组的唯一名称。 ||
|| `组发送速率` | 推送消息的发送速度限制（每秒消息数）。

默认值为 5000（最大）。

最小值为 100。
 ||
|#

## 响应格式 {#response-format}

```json translate=no
{
  "group": {
    "id": int,
    "app_id": int,
    "name": "string",
    "send_rate": int
  }
}
```
#|
|| `group` | 用于发送推送消息的组。 ||
|| `group.id` | 已创建组的 ID。 ||
|| `组.app_id` | 要为其创建组的应用 ID。 ||
|| `group.name` | 组的唯一名称。 ||
|| `组发送速率` | 推送消息的发送速度限制（每秒消息数）。

默认值为 5000（最大）。

最小值为 100。
 ||
|#

## 示例请求 {#example}

> ```bash translate=no
> 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
>   }
> }'
> ```

<!-- source: zh/_includes/feedback-button-2.md -->
如果您没有找到所需答案，可以通过反馈表单提交您的问题。 请尽可能详细地描述问题。 如果可能，请附上截图。

<a href="../troubleshooting/feedback-new">
  <span class="button">联系支持</span>
</a>

<a href="../troubleshooting/feedback-docs">
  <span class="button">建议改进文档</span>
</a>
<!-- endsource: zh/_includes/feedback-button-2.md -->

[*group]: 一个组是发送推送消息的容器。 它允许在[推送活动报告](https://appmetrica.yandex.com/docs/zh/mobile-reports/push-campaign.md)中对消息发送进行分组。 该组可以包含任意数量的发送。 推送活动报告在第一级显示这些组，以及通过[网页界面](https://appmetrica.yandex.com/docs/zh/push/marketing.md)启动的推送活动。