# Accept a client roadmap

Makes a proposed roadmap the client's current roadmap. The roadmap it replaces is kept as history and cannot be made current again. Initiatives not yet decided become accepted; those already declined or deferred keep their decision. Only a proposal that is still waiting can be accepted: one already accepted or replaced answers conflict. A roadmap outside the caller's workspace answers not_found. When an agent calls this, the call is held for a person's approval.

**POST** /v1/roadmap-snapshots/{snapshotId}/accept



## Parameters
- snapshotId (path, required): string
- Idempotency-Key (header, required): Opaque idempotency key, at most 255 characters, scoped to (tenant, principal, operation). A missing key is validation_failed.

## Request body

## Responses
- **200** Accept a client roadmap — snapshot (required): object; supersededSnapshotId (required): object — The roadmap this one replaced as the client's current roadmap, or null.
- **202** Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description. — ApprovalRequiredError:; allOf: ErrorEnvelope
- **400** Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description. — ValidationFailedError:; allOf: ErrorEnvelope
- **401** Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description. — UnauthorizedError:; allOf: ErrorEnvelope
- **403** Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description. — ForbiddenError:; allOf: ErrorEnvelope
- **404** Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description. — NotFoundError:; allOf: ErrorEnvelope
- **409** Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description. — ConflictError:; allOf: ErrorEnvelope
- **429** Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description. — RateLimitedError:; allOf: ErrorEnvelope
- **503** Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description. — UnavailableError:; allOf: ErrorEnvelope

## Example
```bash
curl --request POST \
  --url 'https://api.scopable.io/v1/roadmap-snapshots/{snapshotId}/accept' \
  --header 'Authorization: Bearer $SCOPABLE_API_KEY' \
  --data '<JSON request body>'
```

OpenAPI source: https://api.scopable.io/v1/openapi.json