---
title: "Add Groups to a Pathway"
method: POST
path: "/api/v2/pathways/{id}/relationships/groups"
tags: ["Pathway"]
---

# Add Groups to a Pathway

`POST /api/v2/pathways/{id}/relationships/groups`

This endpoint adds groups to an existing pathway. On a successful add, it returns a `201 Created` response with no body. <br><br>**Note:** This endpoint accepts up to 100 groups. <h3>Required Scope</h3>`pathways:write`

## Path parameters

- `id` string, required

## Request body

- RelationshipsGroupsBody
  - `data` RelationshipsGroupsBodyData[]
    - `id` string, required — String containing the unique identifier of the group.
    - `type` string, required — Type of object that will be added as a relationship. Can only be `groups`.

## Response `201`

Success

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/degreed/apis/degreed-api-web.md) · [All operations](https://skmtc.net/degreed/apis/degreed-api-web/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/degreed/degreed-api-web/versions/4a22b709515c/schema)
