WakaTime Compatibility

Push heartbeats (WakaTime compatible)

Endpoint used by WakaTime plugins to send heartbeat data to the server. This is the core endpoint for tracking time.

post/api/hackatime/v1/users/{id}/heartbeats

Path parameters

idstring required

User ID or "current" (recommended)

Request body

entitystring
typestring
timenumber
projectstring
branchstring
languagestring
is_writeboolean
linenointeger
cursorposinteger
linesinteger
categorystring

Response

accepted

Changes