---
title: "Create a mileage purpose"
method: POST
path: "/mileage_purposes"
tags: ["Mileage Purposes"]
---

# Create a mileage purpose

`POST /mileage_purposes`

Creates a new mileage purpose

## Request body

- object
  - `name` string, required

## Response `200`

Successful response

- MileagePurpose — Mileage purpose resource
  - `id` integer
  - `name` 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/versions/e8fd192f94c6/schema)
