Skip to main content
POST
/
companies
/
{company_id}
/
designations
{
  "name": "Senior Software Engineer",
  "description": "Senior level software engineering position",
  "level_id": "550e8400-e29b-41d4-a716-446655440000",
  "department_id": "660e8400-e29b-41d4-a716-446655440000",
  "status": "active"
}
{
  "success": true,
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "company_id": "789e4567-e89b-12d3-a456-426614174000",
    "name": "Senior Software Engineer",
    "description": "Senior level software engineering position",
    "level_id": "550e8400-e29b-41d4-a716-446655440000",
    "department_id": "660e8400-e29b-41d4-a716-446655440000",
    "status": "active",
    "created_at": "2026-03-03T10:00:00Z",
    "updated_at": "2026-03-03T10:00:00Z"
  }
}
Create a new designation within a company. This endpoint requires Super Admin or HR Manager role.

Path Parameters

company_id
string
required
The unique identifier of the company

Request Body

name
string
required
The name of the designation (2-255 characters)
description
string
A description of the designation
level_id
string
UUID of the associated level
department_id
string
UUID of the associated department
status
string
required
Status of the designation. Must be either active or inactive

Response

success
boolean
Indicates if the request was successful
data
object
The created designation object
{
  "name": "Senior Software Engineer",
  "description": "Senior level software engineering position",
  "level_id": "550e8400-e29b-41d4-a716-446655440000",
  "department_id": "660e8400-e29b-41d4-a716-446655440000",
  "status": "active"
}
{
  "success": true,
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "company_id": "789e4567-e89b-12d3-a456-426614174000",
    "name": "Senior Software Engineer",
    "description": "Senior level software engineering position",
    "level_id": "550e8400-e29b-41d4-a716-446655440000",
    "department_id": "660e8400-e29b-41d4-a716-446655440000",
    "status": "active",
    "created_at": "2026-03-03T10:00:00Z",
    "updated_at": "2026-03-03T10:00:00Z"
  }
}

Build docs developers (and LLMs) love