---
title: "Create Group SLA Policy"
method: POST
path: "/api/v2/group_slas/policies"
tags: ["Group SLA Policies"]
---

# Create Group SLA Policy

`POST /api/v2/group_slas/policies`

#### Allowed For

* Admins

## Response `201`

Created response

- GroupSLAPolicyResponse
  - `group_sla_policy` GroupSLAPolicyObject
    - `created_at` string, date-time — The time the Group SLA policy was created
    - `description` string — The description of the Group SLA policy
    - `filter` GroupSLAPolicyFilterObject, required — An object that describes the conditions a ticket must match for a Group SLA policy to be applied to the ticket. See [Filter](#filter).
      - `all` GroupSLAPolicyFilterConditionObject[]
        - `field` string — The name of a ticket field
        - `operator` string — A comparison operator
        - `value` union[] — The value of a ticket field
          - union
            - string
            - integer
    - `id` string — Automatically assigned when created
    - `policy_metrics` GroupSLAPolicyMetricObject[] — Array of [policy metric](#policy-metric) objects
      - `business_hours` boolean — Whether the metric targets are being measured in business hours or calendar hours
      - `metric` string — The definition of the time that is being measured
      - `priority` string — Priority that a ticket must match
      - `target` integer — The time within which the end-state for a metric should be met
    - `position` integer — Position of the Group SLA policy. This position determines the order in which policies are matched to tickets. If not specified, the Group SLA policy is added at the last position
    - `title` string, required — The title of the Group SLA policy
    - `updated_at` string, date-time — The time of the last update of the Group SLA policy
    - `url` string — URL of the Group SLA policy record

---

[API](https://skmtc.dev/botbrains-io/apis/support-api.md) · [All operations](https://skmtc.dev/botbrains-io/apis/support-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/botbrains-io/support-api/revisions/d53eac07ba68/schema)
