Start screentime
POST/screentime/start
Marks the start of active screentime on this product. While
screentime is active, k-ID delivers real-time webhooks -
Screentime.BreakReminder, Screentime.LimitWarning, and
Screentime.LimitReached - that fire at the moment a threshold
is crossed, not only when usage ends.
Status semantics:
accepted- screentime was started, or a retried call against an already-active session was absorbed idempotently.replaced- a differentidwas sent while screentime was already active for thissessionId; the prior screentime was automatically ended and its duration counted toward today's screentime usage. Use this to recover when the prior screentime was never explicitly ended (e.g. after an app or device restart).
Only one active screentime is supported per sessionId at a
time. Calls must be made in real time - the timestamp value
cannot be more than 5 minutes in the past.
Request
Responses
- 200
- 400
Screentime start accepted or replaced.
Invalid request - the response body's error field carries a
specific code (e.g. INVALID_INPUT, NOT_FOUND,
FEATURE_DISABLED).