---
title: "Update an opportunity's status"
method: PATCH
path: "/api/mcp/projects/{projectId}/opportunities/{opportunityId}"
tags: ["Opportunities"]
---

# Update an opportunity's status

`PATCH /api/mcp/projects/{projectId}/opportunities/{opportunityId}`

## Request

- Base URL: `https://app.searchable.com`
- URL: `https://app.searchable.com/api/mcp/projects/{projectId}/opportunities/{opportunityId}`
- Auth: HTTP bearer

Mark an opportunity completed or dismissed (optionally with a reason/feedback). Requires a connection minted with the `opportunity:manage` capability (not the bare `write` scope). Opportunities are a regular-project feature: an ACTIVE pitch project refuses with 403 `pitch_not_supported`, matching `GET .../opportunities`.

## Path parameters

- `projectId` string, uuid, required
- `opportunityId` string, uuid, required

## Request body

- UpdateOpportunityStatusRequest
  - `status` 'completed' | 'dismissed', required
  - `dismissedReason` string
  - `feedbackText` string

## Response `200`

Opportunity updated.

- UpdateOpportunityStatusResponse
  - `success` boolean, required
  - `opportunity` OpportunityRecord, required: The raw opportunities row after the status transition — not the curated get_opportunities read shape.
    - `id` string, uuid, required
    - `projectId` string, uuid
    - `title` string
    - `description` string
    - `source` string
    - `category` string
    - `impact` 'critical' | 'high' | 'medium' | 'low'
    - `status` 'active' | 'completed' | 'dismissed' | 'auto_resolved', required
    - `completedAt` string, date-time, nullable
    - `dismissedAt` string, date-time, nullable
    - `dismissedReason` string, nullable
    - `feedbackText` string, nullable
    - `createdAt` string, date-time
    - `updatedAt` string, date-time

## Other responses

- `400`: Error response. `code` is the machine-readable reason — see the [error reference](/api/errors) for the full catalog and remediation per code.
- `401`: Error response. `code` is the machine-readable reason — see the [error reference](/api/errors) for the full catalog and remediation per code.
- `403`: Error response. `code` is the machine-readable reason — see the [error reference](/api/errors) for the full catalog and remediation per code.
- `404`: Error response. `code` is the machine-readable reason — see the [error reference](/api/errors) for the full catalog and remediation per code.
- `429`: Rate limited. Usually the per-API-key REST limit (600 requests/minute); on Google-backed endpoints it can also relay an upstream Google rate limit. `Retry-After` (seconds) is present when the limit was applied by Searchable's own rate limiter; it may be absent when an upstream provider rate-limits.

## Changes

- **2026-11-03** `28a5e2a65cd3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/searchable/apis/searchable-rest-api/changes/api/mcp/projects/:projectId/opportunities/:opportunityId/patch.md)

---

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