Skip to main content

Device Ping

Send a heartbeat ping to maintain the device session.

Endpoint

POST /v1/ping

Description

This endpoint is used to maintain an active session with the device. It should be called periodically to indicate that the device is still online and functioning.

Request

Headers

NameTypeRequiredDescription
AuthorizationstringYesBearer token for authentication
X-Session-IdstringYesSession ID from the session endpoint

Response

200 OK

{
"status": "ok"
}

Error Responses

Status CodeDescription
401Unauthorized
403Invalid or expired session
500Internal server error