---
title: "Set yearly goal"
method: POST
path: "/yearly-goals/{year}"
tags: ["Yearly Goals"]
---

# Set yearly goal

`POST /yearly-goals/{year}`

Creates or updates the yearly revenue goal for a specific year

## Path parameters

- `year` integer, required

## Request body

- object
  - `goal` number, required

## Response `200`

Successful response

- object
  - `data` object
    - `goal` number
    - `year` integer
  - `message` string

## Other responses

- `401` — Unauthenticated
- `422` — Validation error

---

[API](https://skmtc.net/harpoonapp/apis/harpoon-api-documentation.md) · [All operations](https://skmtc.net/harpoonapp/apis/harpoon-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/harpoonapp/harpoon-api-documentation/revisions/065f3992045c/schema)
