---
title: "Put an opportunity away."
method: POST
path: "/strategy/opportunities/{opportunityId}/archive"
tags: ["Strategy"]
---

# Put an opportunity away.

`POST /strategy/opportunities/{opportunityId}/archive`

## Request

- Base URL: `https://docs.sleeperhit.studio/api/v1`
- URL: `https://docs.sleeperhit.studio/api/v1/strategy/opportunities/{opportunityId}/archive`
- Auth: HTTP bearer

As its Archive on the Strategy page: it stays listed under `status=archived`. The same call twice leaves it as it is. Free. Scope: `story:write`.

## Response `200`

The opportunity as it is now.

- OpportunityEnvelope
  - `opportunity` Opportunity, required
    - `id` string, required
    - `title` string, required
    - `kind` string, required
    - `status` 'new' | 'reviewed' | 'promoted' | 'archived', required
    - `summary` string, required
    - `deadline` string, date-time, nullable, required
    - `actionRecommendation` string, nullable, required: What to do about it.
    - `sourceUrl` string, required
    - `sourceTitle` string, nullable, required
    - `foundAt` string, date-time, required
    - `watch` object, nullable, required
      - `id` string, required
      - `name` string, required
    - `linkedPerson` object, nullable, required
      - `id` string, required
      - `name` string, required
    - `linkedCompany` object, nullable, required
      - `id` string, required
      - `name` string, required
    - `pursuit` object, nullable, required: The pursuit it became, once promoted.
      - `id` string, required
      - `title` string, required

## Other responses

- `401`: Missing, malformed, revoked, or expired API key.
- `403`: API key is valid but lacks the scope, is blocked by IP allowlist, or the account is disabled.
- `404`: `strategy_item_not_found`: no such row in your Strategy, or it is another writer's.
- `429`: Rate limit for this API key + IP + route family was exceeded.
- `500`: The API failed unexpectedly. Safe to retry with the same Idempotency-Key.
- `503`: `strategy_unavailable`: Strategy, or its watches, is switched off right now.

---

[API](https://skmtc.dev/sleeperhit/apis/sleeper-hit-studio-story-api.md) · [All operations](https://skmtc.dev/sleeperhit/apis/sleeper-hit-studio-story-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sleeperhit/apis/sleeper-hit-studio-story-api/revisions/4534f5d25540?raw)
