---
title: "Attach a fix pull request to a finding from the active Fix Findings run"
method: POST
path: "/v1/projects/{projectId}/loops/fix-findings/finding-links"
tags: ["Loops", "Projects"]
---

# Attach a fix pull request to a finding from the active Fix Findings run

`POST /v1/projects/{projectId}/loops/fix-findings/finding-links`

## Request

- Base URL: `https://api.tessl.io`
- URL: `https://api.tessl.io/v1/projects/{projectId}/loops/fix-findings/finding-links`
- Auth: none declared

Links a pull request in the project's repository to one of the project's open findings. A merged pull request linked this way resolves the finding. Only the active Fix Findings run's key may call it.

## Path parameters

- `projectId` string, uuid, required

## Headers

- `Authorization` string

## Request body

- object
  - `findingId` string, uuid, required
  - `url` string, required

## Response `200`

Default Response

- object
  - `links` object, required
    - `self` string, uri, required
  - `data` object, required
    - `id` string, uuid, required
    - `type` 'fix-finding-link', required
    - `attributes` object, required
      - `url` string, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error

## Changes

- **2026-10-29** `06d2142ed144`: 1 info
  - api operation id `createProjectLoopFixFindingFindingLink` was added
- **2026-10-23** `9ad2b983af2e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/tessl/apis/tessl-api/changes/v1/projects/:projectId/loops/fix-findings/finding-links/post.md)

---

[API](https://skmtc.dev/tessl/apis/tessl-api.md) - [All operations](https://skmtc.dev/tessl/apis/tessl-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tessl/apis/tessl-api/revisions/4fa2a17154e4?raw)
