Skip to main content
POST

Authentication

This endpoint requires Bearer token authentication with one of the following roles:
  • super_admin
  • hr_manager

Path Parameters

string
required
The unique identifier of the company (UUID format)

Request Body

string
required
Employee email address (must be valid email format)
string
required
Employee password (minimum 8 characters)
string
required
Employee phone number
string
required
Employee first name
string
required
Employee last name
string
required
Employee date of birth (format: YYYY-MM-DD)
string
required
Internal employee code/ID (e.g., EMP001)
string
required
Department UUID
string
required
Designation UUID
string
required
Level UUID
string
required
Role UUID
string
Manager UUID (optional)
string
required
Employee status. Must be one of:
  • active
  • inactive
  • on_leave
  • terminated
  • probation
string
required
Employment type. Must be one of:
  • full_time
  • part_time
  • contract
  • intern
string
required
Employee hire date (format: YYYY-MM-DD)
string
Employee gender (optional)
string
Employee address (optional)
string
Emergency contact name (optional)
string
Emergency contact phone number (optional)
string
Profile image URL (optional)

Response

boolean
Indicates if the request was successful
object
string
Employee UUID
string
Company UUID
string
Employee email address
string
Employee phone number
string
Employee first name
string
Employee last name
string
Internal employee code
string
Department UUID
string
Designation UUID
string
Level UUID
string
Role UUID
string
Manager UUID
string
Employee status
string
Employment type
string
Date of birth (ISO 8601 format)
string
Hire date (ISO 8601 format)
string
Termination date (ISO 8601 format)
string
Employee gender
string
Employee address
string
Emergency contact name
string
Emergency contact phone
string
Profile image URL
string
Last login timestamp (ISO 8601 format)
string
Creation timestamp (ISO 8601 format)
string
Last update timestamp (ISO 8601 format)