---
title: "Clock"
method: POST
path: "/api/field-app/clock"
tags: ["fieldApp"]
---

# Clock

`POST /api/field-app/clock`

## Request

- Base URL: `https://api.electricair.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.electricair.io/api/field-app/clock`
- Auth: HTTP bearer

## Request body

- ClockRequest
  - `action` 'in' | 'out' | 'switch' | 'meal_start' | 'meal_end', required
  - `at` string, date-time, nullable
  - `client_id` string
  - `kind` string, nullable
  - `job_id` integer, nullable
  - `latitude` number, nullable
  - `longitude` number, nullable
  - `accuracy_m` number, nullable
  - `notes` string

## Response `200`

OK

- ClockStatusSchema
  - `clocked_in` boolean, required
  - `entry` TimeEntrySchema
    - `id` integer, required
    - `technician_id` integer, required
    - `kind` string, required
    - `kind_label` string, required
    - `job_id` integer, nullable
    - `job_number` string, nullable
    - `started_at` string, date-time, required
    - `ended_at` string, date-time, nullable
    - `hours` number, required
    - `start_latitude` number, nullable
    - `start_longitude` number, nullable
    - `end_latitude` number, nullable
    - `end_longitude` number, nullable
    - `source` string, required
    - `notes` string, required
    - `edited` boolean, required
    - `approved` boolean, required
  - `today_hours` number, required
  - `week_hours` number, required
  - `meal_due_at` string, date-time, nullable

## Changes

> 22 revisions in range; 1 not diffed.

- **2026-10-28** `558d42db3b2e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/electricair/apis/electric-air-autoquote-api/changes/api/field-app/clock/post.md)

---

[API](https://skmtc.dev/electricair/apis/electric-air-autoquote-api.md) - [All operations](https://skmtc.dev/electricair/apis/electric-air-autoquote-api/llms.txt) - [OpenAPI document](https://skmtc.dev/electricair/apis/electric-air-autoquote-api/revisions/a13d832a5676?raw)
