---
title: "Create role"
method: POST
path: "/roles"
tags: ["Roles"]
---

# Create role

`POST /roles`

## Request body

- Role
  - `id` integer
  - `name` string
  - `description` string

## Response `201`

Role created successfully

- ApiResponse
  - `message` string — Response status message
  - `data` unknown

## Changes

- **2025-09-11** `cfa9ae933c17` — 5 info
  - api tag `Roles` added
  - api tag `roles` removed
  - added the new optional request property `id`
  - removed the non-success response with the status `500`
  - …1 more
- **2025-01-22** `ed48b7196725` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/verifywise-ai/apis/verifywise-api/changes/roles/post.md)

---

[API](https://skmtc.dev/verifywise-ai/apis/verifywise-api.md) · [All operations](https://skmtc.dev/verifywise-ai/apis/verifywise-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/verifywise-ai/verifywise-api/revisions/cfa9ae933c17/schema)
