> ## Documentation Index
> Fetch the complete documentation index at: https://docs.simplifi.work/llms.txt
> Use this file to discover all available pages before exploring further.

# Get an employee

> Returns details about a single employee by their ID.

When the `dailyStatus` query parameter is supplied, the response switches to an `EmployeeDailyStatus` object instead of the standard `Employee` object. The status field in that response is resolved using the priority hierarchy **OnLeave > Working > Unavailable > Available**, based on the employee's timesheet and any unavailability records for that date.



## OpenAPI

````yaml /simplifi_openapi.json get /employees/{employee_id}
openapi: 3.0.3
info:
  title: Simplifi API
  version: 1.0.0
  description: Workforce management API
  termsOfService: >-
    https://apps.staffsync.co.nz/static/StaffSyncUserTermsOfService.pdf?openexternal=true
  contact:
    name: Simplifi
    email: support@simplifi.work
    url: https://simplifi.work
servers:
  - url: https://{base_url}/api/v1
    description: Simplifi API Server
    variables:
      base_url:
        description: Your Simplifi instance base URL
        default: example.com
security:
  - BearerAuth: []
externalDocs:
  url: https://docs.simplifi.work/authentication
  description: The Simplifi API Documentation
paths:
  /employees/{employee_id}:
    get:
      tags:
        - Employees
      summary: Get an employee
      description: >-
        Returns details about a single employee by their ID.


        When the `dailyStatus` query parameter is supplied, the response
        switches to an `EmployeeDailyStatus` object instead of the standard
        `Employee` object. The status field in that response is resolved using
        the priority hierarchy **OnLeave > Working > Unavailable > Available**,
        based on the employee's timesheet and any unavailability records for
        that date.
      operationId: getEmployee
      parameters:
        - name: employee_id
          in: path
          description: The unique identifier of the employee to retrieve
          required: true
          schema:
            type: string
            example: 2095_1338863
        - name: dailyStatus
          in: query
          description: >-
            When provided, returns an `EmployeeDailyStatus` object instead of
            the standard `Employee` object. The value is the date to resolve
            availability for, in DD/MM/YYYY format (e.g. `01/08/2026`). Omit
            this parameter to retrieve the standard employee record.
          required: false
          schema:
            type: string
            example: 01/08/2026
      responses:
        '200':
          description: >-
            Employee details, or an employee daily status object if
            `dailyStatus` was supplied.
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/Employee'
                  - $ref: '#/components/schemas/EmployeeDailyStatus'
                description: >-
                  Returns `Employee` when no `dailyStatus` parameter is
                  provided. Returns `EmployeeDailyStatus` when `dailyStatus` is
                  provided.
              examples:
                standardEmployee:
                  summary: Standard employee record (no dailyStatus param)
                  value:
                    id: 2095_1144974
                    address:
                      id: ''
                      city: Christchurch
                      country: ''
                      line1: 123 Fitzgerald Avenue
                      line2: ''
                      postalCode: 8011
                      state: Canterbury
                      suburb: ''
                    contractedHours:
                      - id: 2443_312283
                        day: 1
                        department:
                          id: 2784_119
                          name: Deli
                        finishTime: null
                        minutesTotal: 480
                        minutesWorking: 480
                        role:
                          id: 2213_6559
                          name: Retail Assistant
                        shift:
                          id: 2786_12120
                          name: Morning
                        startTime: null
                        week: 1
                        workPattern: false
                      - id: 2443_312284
                        day: 2
                        department:
                          id: 2784_119
                          name: Deli
                        finishTime: T07:00:00.000
                        minutesTotal: 360
                        minutesWorking: 360
                        role:
                          id: 2213_6559
                          name: Retail Assistant
                        shift: null
                        startTime: T01:00:00.000
                        week: 1
                        workPattern: false
                    firstNames: Jane
                    lastName: Smith
                    payRollCode: ''
                dailyStatus:
                  summary: Daily status response (dailyStatus param supplied)
                  value:
                    __type: SSJSON_API_Employee_DailyStatus
                    id: 2095_1338863
                    address:
                      id: ''
                      city: Dunedin
                      country: ''
                      line1: 105 Three Mile Hill Road
                      line2: ''
                      postalCode: 9076
                      state: Otago
                      suburb: ''
                    contractedHours:
                      - id: 2443_411607
                        day: 4
                        department:
                          id: 2784_4530
                          name: In Patient Unit (IPU)
                        finishTime: T14:00:00.000
                        minutesTotal: 420
                        minutesWorking: 390
                        orgName: Otago Hospice
                        role:
                          id: 2213_49284
                          name: Enrolled Nurse
                        shift: null
                        startTime: T07:00:00.000
                        week: 1
                        workPattern: false
                      - id: 2443_404996
                        day: 5
                        department:
                          id: 2784_4530
                          name: In Patient Unit (IPU)
                        finishTime: T23:30:00.000
                        minutesTotal: 510
                        minutesWorking: 480
                        orgName: Otago Hospice
                        role:
                          id: 2213_49284
                          name: Enrolled Nurse
                        shift:
                          id: 2786_14478
                          name: PM Shift
                        startTime: T15:00:00.000
                        week: 1
                        workPattern: false
                    firstNames: Marie
                    lastName: Morgan
                    payRollCode: ''
                    status: Working
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '422':
          $ref: '#/components/responses/UnprocessableEntity'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalServerError'
        '502':
          $ref: '#/components/responses/BadGateway'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
components:
  schemas:
    Employee:
      type: object
      properties:
        id:
          type: string
          description: The unique identifier for the employee
          example: 2095_1144974
        address:
          $ref: '#/components/schemas/Address'
        contractedHours:
          type: array
          description: A list of the employee's contracted hours entries across the week
          items:
            $ref: '#/components/schemas/ContractedHours'
        firstNames:
          type: string
          description: The employee's first name(s)
          example: Jane
        lastName:
          type: string
          description: The employee's last name
          example: Smith
        payRollCode:
          type: string
          description: >-
            The payroll code associated with this employee. Empty string if not
            assigned.
          example: ''
    EmployeeDailyStatus:
      type: object
      description: >-
        The daily availability status for a single employee on a given date.
        Returned by GET /employees/{employee_id}?dailyStatus={date}. The status
        field is resolved using the priority hierarchy OnLeave > Working >
        Unavailable > Available.
      properties:
        __type:
          type: string
          description: Internal type identifier
          example: SSJSON_API_Employee_DailyStatus
        id:
          type: string
          description: The unique identifier for the employee
          example: 2095_1338863
        address:
          $ref: '#/components/schemas/Address'
        contractedHours:
          type: array
          description: >-
            The employee's full contracted hours schedule. This is their
            complete pattern across all weeks — not filtered to the requested
            date.
          items:
            $ref: '#/components/schemas/EmployeeDailyStatusContractedHours'
        firstNames:
          type: string
          description: The employee's first name(s)
          example: Marie
        lastName:
          type: string
          description: The employee's last name
          example: Morgan
        payRollCode:
          type: string
          description: >-
            The payroll code associated with this employee. Empty string if not
            assigned.
          example: ''
        status:
          type: string
          description: >-
            The resolved availability status for the employee on the requested
            date. Determined by the hierarchy: OnLeave (timesheet exists and
            mHasLeave is true) > Working (timesheet exists) > Unavailable
            (all-day unavailability record exists) > Available.
          enum:
            - OnLeave
            - Working
            - Unavailable
            - Available
          example: Working
    Address:
      type: object
      properties:
        id:
          type: string
          description: The unique identifier for the address. Empty string if not assigned.
          example: ''
        city:
          type: string
          description: City
          example: Christchurch
        country:
          type: string
          description: Country. Empty string if not assigned.
          example: ''
        line1:
          type: string
          description: First line of the address
          example: 123 Fitzgerald Avenue
        line2:
          type: string
          description: Second line of the address. Empty string if not assigned.
          example: ''
        postalCode:
          type: integer
          description: Postal/ZIP code
          example: 8011
        state:
          type: string
          description: State or region
          example: Canterbury
        suburb:
          type: string
          description: Suburb. Empty string if not assigned.
          example: ''
    ContractedHours:
      type: object
      properties:
        id:
          type: string
          description: The unique identifier for this contracted hours entry
          example: 2443_312283
        day:
          type: integer
          description: The day of the week (1 = Monday, 7 = Sunday)
          example: 1
        department:
          $ref: '#/components/schemas/ContractedHoursDepartment'
        finishTime:
          type: string
          nullable: true
          description: >-
            The finish time of the contracted shift as a time-of-day value in T
            HH:MM:SS.mmm format (e.g. T07:00:00.000). Null if the shift is
            defined by a shift template rather than explicit times.
          example: T07:00:00.000
        minutesTotal:
          type: integer
          description: Total duration of the shift in minutes, including breaks
          example: 480
        minutesWorking:
          type: integer
          description: Working duration of the shift in minutes, excluding unpaid breaks
          example: 480
        role:
          $ref: '#/components/schemas/ContractedHoursRole'
        shift:
          allOf:
            - $ref: '#/components/schemas/ContractedHoursShift'
          nullable: true
          description: >-
            The shift template applied to this entry. Null if start/finish times
            are set explicitly.
        startTime:
          type: string
          nullable: true
          description: >-
            The start time of the contracted shift as a time-of-day value in T
            HH:MM:SS.mmm format (e.g. T01:00:00.000). Null if the shift is
            defined by a shift template rather than explicit times.
          example: T01:00:00.000
        week:
          type: integer
          description: The week number within the pay cycle this entry applies to
          example: 1
        workPattern:
          type: boolean
          description: Whether this entry is part of a work pattern
          example: false
    EmployeeDailyStatusContractedHours:
      type: object
      description: >-
        A contracted hours entry as returned in the daily status response.
        Identical to ContractedHours but includes an additional orgName field
        identifying the organisation the entry belongs to.
      properties:
        id:
          type: string
          description: The unique identifier for this contracted hours entry
          example: 2443_411607
        day:
          type: integer
          description: The day of the week (1 = Monday, 7 = Sunday)
          example: 4
        department:
          $ref: '#/components/schemas/ContractedHoursDepartment'
        finishTime:
          type: string
          nullable: true
          description: >-
            The finish time of the contracted shift as a time-of-day value in T
            HH:MM:SS.mmm format (e.g. T14:00:00.000). Null if the shift is
            defined by a shift template rather than explicit times.
          example: T14:00:00.000
        minutesTotal:
          type: integer
          description: Total duration of the shift in minutes, including breaks
          example: 420
        minutesWorking:
          type: integer
          description: Working duration of the shift in minutes, excluding unpaid breaks
          example: 390
        orgName:
          type: string
          description: >-
            The display name of the organisation this contracted hours entry
            belongs to
          example: Otago Hospice
        role:
          $ref: '#/components/schemas/ContractedHoursRole'
        shift:
          allOf:
            - $ref: '#/components/schemas/ContractedHoursShift'
          nullable: true
          description: >-
            The shift template applied to this entry. Null if start/finish times
            are set explicitly.
        startTime:
          type: string
          nullable: true
          description: >-
            The start time of the contracted shift as a time-of-day value in T
            HH:MM:SS.mmm format (e.g. T07:00:00.000). Null if the shift is
            defined by a shift template rather than explicit times.
          example: T07:00:00.000
        week:
          type: integer
          description: The week number within the pay cycle this entry applies to
          example: 1
        workPattern:
          type: boolean
          description: Whether this entry is part of a work pattern
          example: false
    ContractedHoursDepartment:
      type: object
      description: A minimal department reference used within contracted hours
      properties:
        id:
          type: string
          description: The unique identifier of the department
          example: 2784_119
        name:
          type: string
          description: The display name of the department
          example: Deli
    ContractedHoursRole:
      type: object
      description: A minimal role reference used within contracted hours
      properties:
        id:
          type: string
          description: The unique identifier of the role
          example: 2213_6559
        name:
          type: string
          description: The display name of the role
          example: Retail Assistant
    ContractedHoursShift:
      type: object
      description: A minimal shift reference used within contracted hours
      properties:
        id:
          type: string
          description: The unique identifier of the shift
          example: 2786_12120
        name:
          type: string
          description: The display name of the shift
          example: Morning
  responses:
    BadRequest:
      description: Bad Request - malformed request syntax or invalid parameters
    Unauthorized:
      description: Unauthorized - missing or invalid token
    Forbidden:
      description: Forbidden - valid token but insufficient permissions
    NotFound:
      description: Not Found - the requested resource does not exist
    Conflict:
      description: Conflict - the request conflicts with the current state of the resource
    UnprocessableEntity:
      description: >-
        Unprocessable Entity - the request was well-formed but contains semantic
        errors
    TooManyRequests:
      description: Too Many Requests - rate limit exceeded
    InternalServerError:
      description: Internal Server Error
    BadGateway:
      description: Bad Gateway - upstream service failed
    ServiceUnavailable:
      description: Service Unavailable
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Access token obtained from /oauth/token. Pass as Authorization: Bearer
        {token}

````

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