---
title: "Create Non Billable Activity"
method: POST
path: "/api/v1/non-billable-activities/"
tags: ["non-billable-activities", "non-billable-activities"]
---

# Create Non Billable Activity

`POST /api/v1/non-billable-activities/`

## Request

- Base URL: `https://api.peil.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.peil.app/api/v1/non-billable-activities/`
- Auth: OAuth 2 (password, token URL `/api/v1/auth/jwt/login`)

## Request body

- NonBillableActivityCreate
  - `name` string, required
  - `description` string, nullable
  - `category` string, required
  - `subcategory` string, nullable
  - `active` boolean

## Response `201`

Successful Response

- NonBillableActivity
  - `name` string, required
  - `description` string, nullable
  - `category` string, required
  - `subcategory` string, nullable
  - `active` boolean
  - `id` integer, required
  - `user_id` integer, nullable
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

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