POST /attendance-events

Create a new attendance event (check-in or check-out) in the SkyVision dashboard.

Body object Required

Create a new attendance event

One of:

Responses

  • 201

    Successfully created attendance event

    Hide response attribute Show response attribute object
    • skyvision_id integer(int32)

      The unique identifier of the attendance event in SkyVision. You should store this to be able to push updates to this attendance event to our system.

  • 400

    Invalid or missing request parameters

  • 401

    Invalid authentication token

POST /attendance-events
curl \
 -X POST https://cloud.sierraonetech.com/skyvision/integrations/v1/attendance-events \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"external_id":"abc123","employee_id":"AZ123","building":"string","time_in":"2023-05-04T09:42:00+00:00"}'
Request examples
{
  "external_id": "abc123",
  "employee_id": "AZ123",
  "building": "string",
  "time_in": "2023-05-04T09:42:00+00:00"
}
{
  "external_id": "abc123",
  "employee_id": "AZ123",
  "building": "string",
  "time_out": "2023-05-04T09:42:00+00:00"
}
Request examples
{
  "external_id": "abc123",
  "employee_id": "AZ123",
  "building": "string",
  "time_in": "2025-05-04T09:42:00Z"
}
{
  "external_id": "abc123",
  "employee_id": "AZ123",
  "building": "string",
  "time_out": "2025-05-04T09:42:00Z"
}
Response examples (201)
{
  "skyvision_id": 123
}
Response examples (201)
{
  "skyvision_id": 123
}