---
title: "List ServiceNow assignment groups"
method: GET
path: "/api/v2/integration/servicenow/assignment_groups/{instance_id}"
tags: ["ServiceNow Integration"]
---

# List ServiceNow assignment groups

`GET /api/v2/integration/servicenow/assignment_groups/{instance_id}`

Get all assignment groups for a ServiceNow instance.

## Path parameters

- `instance_id` string, uuid, required

## Response `200`

OK

- ServiceNowAssignmentGroupsResponse — Response containing ServiceNow assignment groups
  - `data` ServiceNowAssignmentGroupData[], required — Array of ServiceNow assignment group data objects
    - `attributes` ServiceNowAssignmentGroupAttributes, required — Attributes of a ServiceNow assignment group
      - `assignment_group_name` string, required — The name of the assignment group
      - `assignment_group_sys_id` string, required — The system ID of the assignment group in ServiceNow
      - `instance_id` string, uuid, required — The ID of the ServiceNow instance
    - `id` string, uuid, required — Unique identifier for the ServiceNow assignment group
    - `type` 'assignment_groups', required — Type identifier for ServiceNow assignment group resources

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `429` — Too many requests

---

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