Device Heartbeat

APIs to retrieve information about device's last seen and ping (also known as heartbeat) details.

Get last seen of a Device.

SecurityapiKey
Request
path Parameters
id
required
string <uuid>

ID of the device

Responses
200

Last seen details of the device

400

Device create error - Bad Request

401

Authorization information is missing or invalid.

404

Not found

500

Internal Server Error

get/device/v0/heartbeat/{id}/
Request samples
Response samples
application/json
{
  • "code": 0,
  • "message": "string",
  • "content": {
    }
}

Get list of heartbeat details for devices

SecurityapiKey
Request
query Parameters
last_seen_gt
required
string <date>

Specify the starting date and time for device lookup in the format (2023-08-30T00:00:00.000Z).

last_seen_lt
required
string <date>

Specify the end date and time for device lookup in the format (2023-08-30T00:00:00.000Z).

platform
required
string

platform of the device

Enum: "ANDROID" "APPLE"
limit
integer
offset
integer
Responses
200

Last seen details of the device

400

Device create error - Bad Request

401

Authorization information is missing or invalid.

500

Internal Server Error

get/device/v2/heartbeat/
Request samples
Response samples
application/json
{
  • "code": 0,
  • "message": "string",
  • "content": {
    }
}