Skip to content

Device Heartbeat

POST
/api/v1/heartbeat
curl --request POST \
--url https://example.com/api/v1/heartbeat \
--header 'X-API-Key: example' \
--header 'X-Device-ID: example'

Device heartbeat - updates last seen and checks for pending updates

X-Device-ID
required
X-Device-Id
string
X-API-Key
required
X-Api-Key
string

Successful Response

Media type application/json
Example generated
example

Validation Error

Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Example generated
{
"detail": [
{
"ctx": {},
"input": "example",
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}