> ## Documentation Index
> Fetch the complete documentation index at: https://hr-db.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Onboard New Employee

> Creates a fresh employee profile inside the database.



## OpenAPI

````yaml /openapi.yaml post /public/v2/users
openapi: 3.0.0
info:
  title: The HRDb
  description: >-
    Welcome to the Human Resources Database (HRDb) developer reference. This
    unified API platform provides companies with a complete human resources
    database that can be incorporated with existing company internal software.
  version: 1.1.0
servers:
  - url: https://gorest.co.in
    description: Go Rest HRdb
security:
  - bearerAuth: []
paths:
  /public/v2/users:
    post:
      tags:
        - HRDb
      summary: Onboard New Employee
      description: Creates a fresh employee profile inside the database.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - name
                - email
                - gender
                - status
              properties:
                name:
                  type: string
                  example: Jane Doe
                email:
                  type: string
                  example: jane.doe2@HRdb.fake
                gender:
                  type: string
                  example: Female
                status:
                  type: string
                  example: Active
      responses:
        '201':
          description: Employee profile created successfully.
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: integer
                    example: 8615427
                  name:
                    type: string
                    example: Jane Doe
                  email:
                    type: string
                    example: jane.doe@HRdb.fake
                  gender:
                    type: string
                    example: Female
                  status:
                    type: string
                    example: Active
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.