Personnel Data
    Personnel Data
    • /company/attendances
      GET
    • /company/attendances
      POST
    • /company/attendances/{id}
      DELETE
    • /company/attendances/{id}
      PATCH
    • /company/employees
      GET
    • Create an employee
      POST
    • /company/employees/{employee_id}
      GET
    • /company/employees/{employee_id}/profile-picture/{width}
      GET
    • /company/time-off-types
      GET
    • /company/time-offs
      GET
    • /company/time-offs
      POST
    • /company/time-offs/{id}
      DELETE
    • /company/time-offs/{id}
      GET

      /company/attendances

      GET
      /company/attendances
      This endpoint is responsible for fetching attendance data for the company employees. It is possible to paginate results, filter by period, the date and/or time it was updated, and/or specific employees. The result will contain a list of attendance periods, structured as defined here.

      Request

      Query Params

      Responses

      🟢200Success
      application/json
      Body

      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request GET 'https://api.personio.de/v1/company/attendances?start_date=&end_date='
      Response Response Example
      {
          "data": [
              {
                  "attributes": {
                      "break": 50,
                      "comment": "I was productive as hell",
                      "date": "2017-01-17T00:00:00.000Z",
                      "employee": 325659,
                      "end_time": 1080,
                      "is_holiday": false,
                      "is_on_time_off": false,
                      "start_time": 540,
                      "updated_at": "2017-01-17T16:41:08.000Z"
                  },
                  "id": 1234,
                  "type": "AttendancePeriod"
              },
              {
                  "attributes": {
                      "break": 60,
                      "comment": {
                          "$ref": "#/components/schemas/UpdateAttendancePeriodRequest/example/comment"
                      },
                      "date": "2017-01-18T00:00:00.000Z",
                      "employee": 325660,
                      "end_time": 1110,
                      "is_holiday": false,
                      "is_on_time_off": true,
                      "start_time": 570,
                      "updated_at": "2017-01-18T15:41:08.000Z"
                  },
                  "id": 1235,
                  "type": "AttendancePeriod"
              }
          ],
          "limit": 200,
          "offset": 0,
          "success": true
      }
      Modified at 2023-08-22 06:28:03
      Next
      /company/attendances
      Built with