---
title: "Admin Decide Course Proposal"
method: POST
path: "/admin/course-proposals/{proposal_id}"
---

# Admin Decide Course Proposal

`POST /admin/course-proposals/{proposal_id}`

## Request

- Base URL: `https://safefamilyapp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://safefamilyapp.com/admin/course-proposals/{proposal_id}`
- Auth: HTTP bearer

Approve (the course is added now) or reject (with a note the submitter receives).

## Path parameters

- `proposal_id` integer, required

## Request body

- CourseProposalDecision
  - `action` string, required
  - `note` string, nullable

## Response `200`

Successful Response

- CourseProposalOut: A course a visitor proposed for the calculator. `submitter_email` is shown to admins only.
  - `id` integer, required
  - `status` string, required
  - `event_name` string, required
  - `course_name` string, required
  - `edition_year` integer, nullable
  - `location` string, nullable
  - `country` string, nullable
  - `source_url` string, nullable
  - `submitter_email` string, nullable
  - `distance_km` number, required
  - `elevation_gain_m` number, required
  - `measurement_status` string, nullable
  - `created_at` string, date-time, required
  - `auto_approve_at` string, date-time, nullable
  - `decided_at` string, date-time, nullable
  - `decided_by` string, nullable
  - `note` string, nullable
  - `race_id` string, nullable

## Other responses

- `422`: Validation Error

---

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