---
title: "Approve a suggested app page"
method: POST
path: "/api/v1/org-sitemap/proposals/{proposal_id}/approve"
tags: ["authed"]
---

# Approve a suggested app page

`POST /api/v1/org-sitemap/proposals/{proposal_id}/approve`

## Request

- Base URL: `https://api.teaflask.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.teaflask.com/api/v1/org-sitemap/proposals/{proposal_id}/approve`
- Auth: none declared

Approves a suggested app page: a create adds it to the app pages, an
update changes its page and a deprecation archives it, after the page
passes the same checks. Approval is refused when the suggestion changed
since you read its payload_fingerprint (read it again), and a create
that conflicts with an existing page stays open.

## Path parameters

- `proposal_id` string, uuid, required: The suggested app page's id, as list_org_sitemap_page_proposals returns it.

## Request body

- ApproveOrgSitemapPageProposalRequest
  - `reviewed_fingerprint` string, required: The payload_fingerprint of the suggestion as you read it; approval is consent to exactly that version.

## Response `200`

Successful Response

- OrgSitemapPageProposalResponse
  - `id` string, uuid, required
  - `organization_id` string, uuid, required
  - `kind` 'create' | 'update' | 'deprecate', required
  - `page_id` string, uuid, nullable, required
  - `payload` object, required
  - `payload_fingerprint` string, required
  - `status` 'open' | 'approved' | 'dismissed' | 'withdrawn', required
  - `reviewed_by_user_id` string, uuid, nullable, required
  - `reviewed_at` string, date-time, nullable, required
  - `withdrawn_reason` string, nullable, required
  - `edited_by_user_id` string, uuid, nullable, required
  - `edited_at` string, date-time, nullable, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `405`: Method not allowed
- `409`: The proposal is already decided, its payload changed after the reviewer read it, its create conflicts with the register, or its target is archived
- `422`: Validation error
- `500`: Internal server error

## Changes

- **2026-11-03** `c6ac9fd6657f`: 7 info
  - removed the `STEEP_LEARNING_DISABLED` enum value from the `error/code` response property for the response status `401`
  - removed the `STEEP_LEARNING_DISABLED` enum value from the `error/code` response property for the response status `403`
  - removed the `STEEP_LEARNING_DISABLED` enum value from the `error/code` response property for the response status `404`
  - removed the `STEEP_LEARNING_DISABLED` enum value from the `error/code` response property for the response status `405`
  - …3 more

[Operation history](https://skmtc.dev/teaflask/apis/teaflask-api/changes/api/v1/org-sitemap/proposals/:proposal_id/approve/post.md)

---

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