---
title: "POST /taskpriorities"
method: POST
path: "/taskpriorities"
tags: ["slash-task-priority"]
---

# POST /taskpriorities

`POST /taskpriorities`

## Request body

- TaskPriorityDto
  - `tenantId` integer
  - `taskPriorityId` integer
  - `priorityLabel` string
  - `color` string
  - `createdBy` UserMinimalDto
    - `userId` integer
    - `firstName` string
    - `email` string
    - `profilePicURL` string
    - `profilePicColor` string
    - `provider` string
    - `role` OrgRoleDto
      - `orgRoleId` integer
      - `roleName` string
  - `modifiedBy` UserMinimalDto
    - `userId` integer
    - `firstName` string
    - `email` string
    - `profilePicURL` string
    - `profilePicColor` string
    - `provider` string
    - `role` OrgRoleDto
      - `orgRoleId` integer
      - `roleName` string
  - `default` boolean
  - `primary` boolean

## Response `200`

OK

- ResponseFormat
  - `success` boolean
  - `message` string
  - `data` unknown
  - `errorCode` integer
  - `errors` unknown

---

[API](https://skmtc.net/astravue/apis/astravue-api.md) · [All operations](https://skmtc.net/astravue/apis/astravue-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/astravue/astravue-api/versions/237f5bbd4029/schema)
