Retrieve event

Retrieve an event.
If multiple events are generated with the same timestamp, to the second, and the same media type, the media file from the last request is used for all of them. To have different media files for each virtual event, use timestamps that differ by at least a second.

Request
Security:
path Parameters
imei
required
string (IMEI)

The IMEI of the device. The IMEI number can be found on a sticker on the device itself or on the back of the device box.

Example: 357660101000198
eventId
required
string

The ID of the event. Obtain this from GET /devices/{imei}/events.

Example: 62
Responses
200

Successful operation

400

Bad request error

401

Unauthorized error

403

Forbidden error

404

Not found error

500

Internal server error

get/devices/{imei}/events/{eventId}
Request samples
curl -i -X GET \
  https://api-prod.surfsight.net/v2/devices/:imei/events/:eventId \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Response samples
application/json
{
  • "data": {
    }
}