---
title: "Add a Pathway to an Opportunity"
method: POST
path: "/api/v2/opportunities/{opportunityId}/relationships/suggested-pathways"
tags: ["Opportunity"]
---

# Add a Pathway to an Opportunity

`POST /api/v2/opportunities/{opportunityId}/relationships/suggested-pathways`

## Request

- Base URL: `https://api.betatest.degreed.com`
- URL: `https://api.betatest.degreed.com/api/v2/opportunities/{opportunityId}/relationships/suggested-pathways`
- Auth: HTTP bearer

This endpoint adds a suggested pathway to an existing opportunity. <h3>Required Scope</h3>`opportunity:write`

## Path parameters

- `opportunityId` string, required

## Request body

- OpportunityRelationshipPathwayBody
  - `data` OpportunityRelationshipPathwayBodyData[]
    - `type` string, nullable: The type of relationship.
    - `id` string, nullable: The unique id of the pathway.

## Response `201`

Success

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/degreed/apis/degreed-api-web.md) - [All operations](https://skmtc.dev/degreed/apis/degreed-api-web/llms.txt) - [OpenAPI document](https://skmtc.dev/degreed/apis/degreed-api-web/revisions/9fa024eaf414?raw)
