---
title: Event API - Notehub API Reference
description: Fetch events from a Notehub project or fleet with the Notehub Event API, filtered by device, Notefile, or date range, and get the route logs for one event.
source_url: https://dev.blues.io/api-reference/notehub-api/event-api/
canonical_url: https://dev.blues.io/api-reference/notehub-api/event-api/
markdown_url: https://dev.blues.io/api-reference/notehub-api/event-api.md
---

# Event API

The Notehub event API provides RESTful methods that can be used to `GET` event data.

| Name | HTTP Request |
| - | - |
| [Get Project Events](#get-project-events) | **GET** `/v1/projects/{projectOrProductUID}/events` |
| [Get Project Events by Cursor](#get-project-events-by-cursor) (Deprecated) | **GET** `/v1/projects/{projectOrProductUID}/events-cursor` |
| [Get Fleet Events](#get-fleet-events) | **GET** `/v1/projects/{projectOrProductUID}/fleets/{fleetUID}/events` |
| [Get Fleet Events by Cursor](#get-fleet-events-by-cursor) (Deprecated) | **GET** `/v1/projects/{projectOrProductUID}/fleets/{fleetUID}/events-cursor` |
| [Get Route Logs by Event](#get-route-logs-by-event) | **GET** `/v1/projects/{projectOrProductUID}/events/{eventUID}/route-logs` |

## Get Project Events (Notehub) {#get-project-events}

Get an array of Notehub events by [ProjectUID](https://dev.blues.io/api-reference/glossary.md#projectuid).

| | |
| - | - |
| HTTP Method: | `GET` |
| URL: | `https://api.notefile.net/v1/projects/{projectOrProductUID}/events` |
| Path Parameters: | - `projectOrProductUID` - The [ProjectUID](https://dev.blues.io/api-reference/glossary.md#projectuid) or [ProductUID](https://dev.blues.io/api-reference/glossary.md#productuid) of a Notehub project. |
| Minimum Notehub [project-level role:](https://dev.blues.io/notehub/notehub-walkthrough.md#collaborator-roles) | viewer |
| Required HTTP Headers: | `Authorization: Bearer <token>`, where the token is a valid [authentication token](https://dev.blues.io/api-reference/notehub-api.md#authentication). |

note

This API reference displays all possible fields that can be present in an event response. However, certain fields will only be present for certain types of events (e.g. Note added event, Note updated event, .dbs update event, Notehub session event, etc).

Arguments

### `pageSize` {#get-project-events--pagesize}

*integer (optional)*

Specifies the number of events to be returned by a request (default 50).

### `pageNum` {#get-project-events--pagenum}

*integer (optional)*

Specifies the page number of the results returned (useful when the `pageSize` is less than the total number of sessions that could be returned). When provided, the `pageNum` must be >= `1`.

### `cursor` {#get-project-events--cursor}

*string (optional)*

Use this to retrieve events in batches, ordered by when each event was last created or updated in Notehub (oldest first). Each response includes `has_more`, which is `true` if there are more events to retrieve, and a `next_cursor` value to pass as the `cursor` of your next request to get the next batch. Set `cursor` to:

- `0` to start from the beginning.
- A Unix epoch time in microseconds (UTC) to retrieve only events last changed at or after that time.
- The `next_cursor` value returned by a previous request, to pick up where that request left off.

When `format` is `csv`, the response body is plain CSV rows with no room for `has_more` or `next_cursor`, so read them from the `X-Has-More` and `X-Next-Cursor` response headers instead.

`cursor` cannot be combined with `pageNum`, `sortBy`, or `sortOrder`.

### `deviceUID` {#get-project-events--deviceuid}

*Array (optional)*

An [array](https://dev.blues.io/api-reference/notehub-api.md#using-array-arguments) of DeviceUIDs of Notehub [devices](https://dev.blues.io/api-reference/glossary.md#device).

You may alternatively provide a device serial number by prefixing this argument with `sn:`, for example `sn:my-device`.

### `sortBy` {#get-project-events--sortby}

*string (optional)*

Specifies a field in the result set to sort by, and must be one of the following: `best_id`, `device_serial`, `device_uid`, `captured`, `modified`, `device_location`, `tower_location`, `triangulated_location`, `best_location`.

### `sortOrder` {#get-project-events--sortorder}

*string (optional)*

Specifies the ascending (`asc`) or descending (`desc`) order of the result set when paired with `sortBy`. The default is `asc`.

### `startDate` {#get-project-events--startdate}

*UNIX Epoch time (optional)*

Start date for filtering results, specified as a Unix timestamp.

### `endDate` {#get-project-events--enddate}

*UNIX Epoch time (optional)*

End date for filtering results, specified as a Unix timestamp.

### `dateType` {#get-project-events--datetype}

*string (optional)*

Which date to filter on, either `captured` or `uploaded`. This will apply to the `startDate` and `endDate` parameters.

### `systemFilesOnly` {#get-project-events--systemfilesonly}

*boolean (optional)*

If `true`, will only return [System Notefiles](https://dev.blues.io/api-reference/system-notefiles.md) in the response.

### `files` {#get-project-events--files}

*string (optional)*

A comma-delimited list of Notefile(s) this request should return events from. For example, setting this argument to `track.qo,sensor.qo` would return events only from the `track.qo` and `sensor.qo` Notefiles.

### `format` {#get-project-events--format}

*string (optional)*

Response format ("json" or "csv").

### `serialNumber` {#get-project-events--serialnumber}

*Array (optional)*

An [array](https://dev.blues.io/api-reference/notehub-api.md#using-array-arguments) of device [serial numbers](https://dev.blues.io/api-reference/glossary.md#serial-number) to filter by.

### `fleetUID` {#get-project-events--fleetuid}

*Array (optional)*

An [array](https://dev.blues.io/api-reference/notehub-api.md#using-array-arguments) of [FleetUIDs](https://dev.blues.io/api-reference/glossary.md#fleetuid) to filter by.

### `sessionUID` {#get-project-events--sessionuid}

*Array (optional)*

An [array](https://dev.blues.io/api-reference/notehub-api.md#using-array-arguments) of [SessionUIDs](https://dev.blues.io/api-reference/glossary.md#sessionuid) to filter by.

### `eventUID` {#get-project-events--eventuid}

*Array (optional)*

An [array](https://dev.blues.io/api-reference/notehub-api.md#using-array-arguments) of [EventUIDs](https://dev.blues.io/api-reference/glossary.md#eventuid) to filter by.

### `selectFields` {#get-project-events--selectfields}

*string (optional)*

Comma-separated list of fields to include in the response (e.g., "field1,field2.subfield,field3").

**Basic**

**Bash**

```bash
curl -X GET
    -L 'https://api.notefile.net/v1/projects/<projectOrProductUID>/events'
    -H 'Authorization: Bearer <access_token>'
```

**JS**

```javascript
import * as NotehubJs from "@blues-inc/notehub-js";

let defaultClient = NotehubJs.ApiClient.instance;
// Configure Bearer access token for authorization: personalAccessToken
let personalAccessToken = defaultClient.authentications["personalAccessToken"];
personalAccessToken.accessToken = "YOUR ACCESS TOKEN";

let apiInstance = new NotehubJs.EventApi();
let projectOrProductUID = "app:2606f411-dea6-44a0-9743-1130f57d77d8";
let opts = {
  pageSize: 50,
  pageNum: 1,
};

apiInstance.getEvents(projectOrProductUID, opts).then(
  (data) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data),
    );
  },
  (error) => {
    console.error(error);
  },
);
```

**Python**

```python
import os
from pprint import pprint

import notehub_py

configuration = notehub_py.Configuration(
    access_token=os.environ["BEARER_TOKEN"]
)

# Enter a context with an instance of the API client
with notehub_py.ApiClient(configuration) as api_client:
    api_instance = notehub_py.EventApi(api_client)
    project_or_product_uid = "app:2606f411-dea6-44a0-9743-1130f57d77d8"

    try:
        api_response = api_instance.get_events(
            project_or_product_uid, page_size=50, page_num=1
        )
        print("The response of EventApi->get_events:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling EventApi->get_events: %s\n" % e)
```

**Optional Params**

**Bash**

```bash
curl -X GET
    -L 'https://api.notefile.net/v1/projects/<projectOrProductUID>/events?pageSize=<pageSize>&pageNum=<pageNum>&cursor=<cursor>&deviceUID=<deviceUID>&sortBy=<sortBy>&sortOrder=<sortOrder>&startDate=<startDate>&endDate=<endDate>&dateType=<dateType>&systemFilesOnly=<systemFilesOnly>&files=<files>&format=<format>&serialNumber=<serialNumber>&fleetUID=<fleetUID>&sessionUID=<sessionUID>&eventUID=<eventUID>&selectFields=<selectFields>'
    -H 'Authorization: Bearer <access_token>'
```

**Specific Notefiles**

**Bash**

```bash
curl -X GET
    -L 'https://api.notefile.net/v1/projects/<projectOrProductUID>/events?files=track.qo,sensor.qo'
    -H 'Authorization: Bearer <access_token>'
```

**Response Members**

### `event` {#get-project-events--event}

*string*

The globally-unique [EventUID](https://dev.blues.io/api-reference/glossary.md#eventuid).

### `deleted` {#get-project-events--deleted}

*boolean (optional)*

`true` if this event has been deleted. Only present when reading with a `cursor`.

### `session` {#get-project-events--session}

*string*

The globally-unique [SessionUID](https://dev.blues.io/api-reference/glossary.md#sessionuid) for the device's current Notehub session.

### `best_id` {#get-project-events--bestid}

*string*

The device's best identifier. This is the device's serial number if set, or the device's DeviceUID if not.

### `device` {#get-project-events--device}

*string*

The device's globally-unique [DeviceUID](https://dev.blues.io/api-reference/glossary.md#deviceuid).

### `sn` {#get-project-events--sn}

*string*

The device's [serial number](https://dev.blues.io/api-reference/glossary.md#product-sn).

### `product` {#get-project-events--product}

*string*

The globally-unique [ProductUID](https://dev.blues.io/api-reference/glossary.md#productuid).

### `app` {#get-project-events--app}

*string*

The globally-unique [AppUID](https://dev.blues.io/api-reference/glossary.md#appuid) for the device's current Notehub application.

### `received` {#get-project-events--received}

*UNIX Epoch time*

The date and time this event was received by Notehub.

### `req` {#get-project-events--req}

*string*

The API command used to create this event.

### `when` {#get-project-events--when}

*UNIX Epoch time*

The date and time this event was captured by the device.

### `file` {#get-project-events--file}

*string*

The name of the [Notefile](https://dev.blues.io/api-reference/glossary.md#notefile).

### `updates` {#get-project-events--updates}

*integer*

The number of updates performed on a DB Notefile.

### `body` {#get-project-events--body}

*object*

A JSON object containing the event details.

### `wire_length` {#get-project-events--wirelength}

*integer (optional)*

The approximate number of bytes that the Note's body and payload occupied on the wire when transmitted from the device to Notehub. This member is only present on events that originate from a device, and is omitted for events created by the Notehub API and Notehub itself.

### `platform` {#get-project-events--platform}

*boolean (optional)*

Whether this is a [platform event](https://dev.blues.io/api-reference/glossary.md#platform-event). This member is omitted for non-platform events.

### `best_location_type` {#get-project-events--bestlocationtype}

*string*

The type of location used as for all the `"best"` response fields, either `"gps"`, `"triangulated"`, or `"tower"`.

### `best_location_when` {#get-project-events--bestlocationwhen}

*UNIX Epoch time*

The date and time the device last determined its location.

A device can have its location determined by GPS/GNSS, triangulation, or from the cell tower that received the event. The `best_*` fields provide the most accurate values from the available locations.

### `best_lat` {#get-project-events--bestlat}

*float*

The latitude of the device that sent the event.

A device can have its location determined by GPS/GNSS, triangulation, or from the cell tower that received the event. The `best_*` fields provide the most accurate values from the available locations.

### `best_lon` {#get-project-events--bestlon}

*float*

The longitude of the device that sent the event.

A device can have its location determined by GPS/GNSS, triangulation, or from the cell tower that received the event. The `best_*` fields provide the most accurate values from the available locations.

### `best_location` {#get-project-events--bestlocation}

*string*

The name of the location from the device that sent the event.

A device can have its location determined by GPS/GNSS, triangulation, or from the cell tower that received the event. The `best_*` fields provide the most accurate values from the available locations.

### `best_country` {#get-project-events--bestcountry}

*string*

The country of the device that sent the event.

A device can have its location determined by GPS/GNSS, triangulation, or from the cell tower that received the event. The `best_*` fields provide the most accurate values from the available locations.

### `best_timezone` {#get-project-events--besttimezone}

*string*

The timezone of the location from the device that sent the event.

A device can have its location determined by GPS/GNSS, triangulation, or from the cell tower that received the event. The `best_*` fields provide the most accurate values from the available locations.

### `tower_id` {#get-project-events--towerid}

*string*

A combination of the `mcc`, `mnc`, `lac`, and `cid` values, denoting the cell tower where the session originated.

### `tower_country` {#get-project-events--towercountry}

*string*

The country of the physical cell tower that received the event.

### `tower_lat` {#get-project-events--towerlat}

*float*

The latitude of the physical cell tower that received the event.

### `tower_lon` {#get-project-events--towerlon}

*float*

The longitude of the physical cell tower that received the event.

### `tower_location` {#get-project-events--towerlocation}

*string*

The name of the location of the physical cell tower that received the event.

### `tower_timezone` {#get-project-events--towertimezone}

*string*

The timezone used by the physical cell tower that received the event.

### `tower_when` {#get-project-events--towerwhen}

*UNIX Epoch time*

The date and time the device retrieved the tower location.

### `tri_when` {#get-project-events--triwhen}

*UNIX Epoch time*

The date and time when the device retrieved its [triangulated location](https://dev.blues.io/notecard/notecard-walkthrough/time-and-location-requests.md#using-cell-tower-and-wifi-triangulation).

### `tri_lat` {#get-project-events--trilat}

*float*

The latitude of the device's [triangulated location](https://dev.blues.io/notecard/notecard-walkthrough/time-and-location-requests.md#using-cell-tower-and-wifi-triangulation) when it sent the event.

### `tri_lon` {#get-project-events--trilon}

*float*

The longitude of the device's [triangulated location](https://dev.blues.io/notecard/notecard-walkthrough/time-and-location-requests.md#using-cell-tower-and-wifi-triangulation) when it sent the event.

### `tri_location` {#get-project-events--trilocation}

*string*

The name of the device's [triangulated location](https://dev.blues.io/notecard/notecard-walkthrough/time-and-location-requests.md#using-cell-tower-and-wifi-triangulation) when it sent the event.

### `tri_country` {#get-project-events--tricountry}

*string*

The country of the device's [triangulated location](https://dev.blues.io/notecard/notecard-walkthrough/time-and-location-requests.md#using-cell-tower-and-wifi-triangulation) when it sent the event.

### `tri_timezone` {#get-project-events--tritimezone}

*string*

The timezone of the device's [triangulated location](https://dev.blues.io/notecard/notecard-walkthrough/time-and-location-requests.md#using-cell-tower-and-wifi-triangulation) when it sent the event.

### `tri_points` {#get-project-events--tripoints}

*integer*

The number of WiFi access points (if using WiFi triangulation) or cell towers (if using cell-tower triangulation) used to determine the triangulated location.

### `where_country` {#get-project-events--wherecountry}

*string*

The country from the device's GPS/GNSS location when it sent the event.

### `where_lat` {#get-project-events--wherelat}

*float*

The latitude from the device's GPS/GNSS location when it sent the event.

### `where_lon` {#get-project-events--wherelon}

*float*

The longitude from the device's GPS/GNSS location when it sent the event.

### `where_location` {#get-project-events--wherelocation}

*string*

The name of the device's GPS/GNSS location when it sent the event.

### `where_timezone` {#get-project-events--wheretimezone}

*string*

The timezone from the device's GPS/GNSS location when it sent the event.

### `where_when` {#get-project-events--wherewhen}

*UNIX Epoch time*

The date and time when the device last determined its GPS/GNSS location.

### `rssi` {#get-project-events--rssi}

*integer*

Received Signal Strength Indicator (RSSI) is an estimated measurement of how well a device can receive signals. Only available on `_session.qo` events.

### `sinr` {#get-project-events--sinr}

*integer*

The Signal to Interference plus Noise Ratio (SINR) of the cell tower that received the event. Only available on `_session.qo` events.

### `rsrp` {#get-project-events--rsrp}

*integer*

The Reference Signal Received Power (RSRP) of the cell tower that received the event. Only available on `_session.qo` events.

### `rsrq` {#get-project-events--rsrq}

*integer*

The Reference Signal Received Quality (RSRQ) of the cell tower that received the event. Only available on `_session.qo` events.

### `rat` {#get-project-events--rat}

*string*

The Radio Access Technology (RAT) of the cell tower that received the event. Only available on `_session.qo` events.

### `bars` {#get-project-events--bars}

*integer*

The number of signal bars of the cell tower that received the event. Only available on `_session.qo` events.

### `voltage` {#get-project-events--voltage}

*float*

The battery voltage of the device when it sent the event. Only available on `_session.qo` events.

### `temp` {#get-project-events--temp}

*float*

The temperature of the device when it sent the event. Only available on `_session.qo` events.

### `sku` {#get-project-events--sku}

*string*

The SKU of the device that sent the event. Only available on `_session.qo` events.

### `ordering_code` {#get-project-events--orderingcode}

*string*

The ordering code of the device that sent the event. Only available on `_session.qo` events.

### `ssid` {#get-project-events--ssid}

*string*

The Service Set Identifier (SSID) of the WiFi network the device was connected to when it sent the event. Only available on `_session.qo` events.

### `bssid` {#get-project-events--bssid}

*string*

The Basic Service Set Identifier (BSSID) of the WiFi network the device was connected to when it sent the event. Only available on `_session.qo` events.

### `has_more` {#get-project-events--hasmore}

*boolean*

Defines whether or not there are additional events beyond this list.

### `next_cursor` {#get-project-events--nextcursor}

*string (optional)*

A marker for where this batch of events ended. Pass it, exactly as returned, as the `cursor` argument of your next request to get the next batch. It's returned even when `has_more` is `false`, so once you've caught up you can keep using it to retrieve only the events that have changed since. When `format` is `csv`, read this value from the `X-Next-Cursor` response header instead. Only returned when the request includes a `cursor`.

Example Response

```json
{
  "events": [
    {
      "event": "dfa3747d-688b-4250-935b-5dd60354313c",
      "session": "b623132c-6afb-4740-bc39-e3634e38f064",
      "best_id": "My Device",
      "device": "dev:860322068012345",
      "sn": "My Device",
      "product": "product:com.blues.project.demo",
      "app": "app:2606f411-dea6-44a0-9743-1130f57d77d8",
      "received": 1656011227.006928,
      "req": "note.add",
      "when": 1656011221,
      "file": "data.qo",
      "updates": 1,
      "body": {
        "humidity": 40.375,
        "pressure": 97705.66,
        "temperature": 24.0625
      },
      "wire_length": 42,
      "best_location_type": "triangulated",
      "best_location_when": 1656010061,
      "best_lat": 33.7489954,
      "best_lon": -84.3879824,
      "best_location": "Atlanta GA",
      "best_country": "US",
      "best_timezone": "America/New_York",
      "tower_when": 1656010061,
      "tower_lat": 33.7542188,
      "tower_lon": -84.3901562,
      "tower_location": "Atlanta GA",
      "tower_country": "US",
      "tower_timezone": "America/New_York",
      "tower_id": "310,410,17169,77315594",
      "tri_when": 1656010061,
      "tri_lat": 33.7489954,
      "tri_lon": -84.3879824,
      "tri_location": "Atlanta GA",
      "tri_country": "US",
      "tri_timezone": "America/New_York",
      "tri_points": 6
    },
    {
      "event": "3f7a5c21-9d4e-4b8a-a1f2-6c0e8d9b7a54",
      "session": "b623132c-6afb-4740-bc39-e3634e38f064",
      "best_id": "My Device",
      "device": "dev:860322068012345",
      "sn": "My Device",
      "product": "product:com.blues.project.demo",
      "app": "app:2606f411-dea6-44a0-9743-1130f57d77d8",
      "received": 1656010061.413702,
      "req": "session.begin",
      "when": 1656010061,
      "file": "_session.qo",
      "platform": true,
      "updates": 1,
      "body": {
        "opened": true,
        "why": "first sync; continuous connection mode (TLS)"
      },
      "best_location_type": "triangulated",
      "best_location_when": 1656010061,
      "best_lat": 33.7489954,
      "best_lon": -84.3879824,
      "best_location": "Atlanta GA",
      "best_country": "US",
      "best_timezone": "America/New_York",
      "tower_when": 1656010061,
      "tower_lat": 33.7542188,
      "tower_lon": -84.3901562,
      "tower_location": "Atlanta GA",
      "tower_country": "US",
      "tower_timezone": "America/New_York",
      "tower_id": "310,410,17169,77315594",
      "tri_when": 1656010061,
      "tri_lat": 33.7489954,
      "tri_lon": -84.3879824,
      "tri_location": "Atlanta GA",
      "tri_country": "US",
      "tri_timezone": "America/New_York",
      "tri_points": 6,
      "rssi": -63,
      "sinr": 12,
      "rsrp": -94,
      "rsrq": -11,
      "rat": "lte",
      "bars": 3,
      "voltage": 4.17,
      "temp": 25.625,
      "sku": "NOTE-NBGL",
      "ordering_code": "XBOXT1N5AFAB"
    }
  ],
  "has_more": false,
  "next_cursor": "1784278029057227.52735"
}
```

## Get Project Events by Cursor (Notehub) (Deprecated) {#get-project-events-by-cursor}

Get an array of Notehub events by [ProjectUID](https://dev.blues.io/api-reference/glossary.md#projectuid) and cursor (i.e. a means of limiting your result set).

deprecated

This request is deprecated. Use the [Get Project Events](https://dev.blues.io/api-reference/notehub-api/event-api.md#get-project-events) request with the `cursor` argument instead.

| | |
| - | - |
| HTTP Method: | `GET` |
| URL: | `https://api.notefile.net/v1/projects/{projectOrProductUID}/events-cursor` |
| Path Parameters: | - `projectOrProductUID` - The [ProjectUID](https://dev.blues.io/api-reference/glossary.md#projectuid) or [ProductUID](https://dev.blues.io/api-reference/glossary.md#productuid) of a Notehub project. |
| Minimum Notehub [project-level role:](https://dev.blues.io/notehub/notehub-walkthrough.md#collaborator-roles) | viewer |
| Required HTTP Headers: | `Authorization: Bearer <token>`, where the token is a valid [authentication token](https://dev.blues.io/api-reference/notehub-api.md#authentication). |

note

This API reference displays all possible fields that can be present in an event response. However, certain fields will only be present for certain types of events (e.g. Note added event, Note updated event, .dbs update event, Notehub session event, etc).

Arguments

### `fleetUID` {#get-project-events-by-cursor--fleetuid}

*string (optional)*

The FleetUID of a Notehub device [fleet](https://dev.blues.io/api-reference/glossary.md#fleet).

### `deviceUID` {#get-project-events-by-cursor--deviceuid}

*array (optional)*

An [array](https://dev.blues.io/api-reference/notehub-api.md#using-array-arguments) of DeviceUIDs of Notehub [devices](https://dev.blues.io/api-reference/glossary.md#device).

You may alternatively provide a device serial number by prefixing this argument with `sn:`, for example `sn:my-device`.

### `limit` {#get-project-events-by-cursor--limit}

*integer (optional)*

The number of records to return (minimum value is `1`, maximum value is `10000`). Default value is `50`.

### `cursor` {#get-project-events-by-cursor--cursor}

*string (optional)*

The globally-unique [EventUID](https://dev.blues.io/api-reference/glossary.md#eventuid) obtained from the `next_cursor` value from a previous call to this API. The result set will include this event as its first result. However, if the provided EventUID is not valid, this parameter is ignored.

### `sortOrder` {#get-project-events-by-cursor--sortorder}

*string (optional)*

Specifies the ascending (`asc`) or descending (`desc`) order of the result set based on the timestamp at which the event was received in Notehub. The default is `asc`.

### `systemFilesOnly` {#get-project-events-by-cursor--systemfilesonly}

*boolean (optional)*

If `true`, will only return [System Notefiles](https://dev.blues.io/api-reference/system-notefiles.md) in the response.

### `files` {#get-project-events-by-cursor--files}

*string (optional)*

Limit the query to return only the Notefile(s) named in this argument (e.g. `&files=track.qo,sensor.qo`).

**Basic**

**Bash**

```bash
curl -X GET
    -L 'https://api.notefile.net/v1/projects/<projectOrProductUID>/events-cursor'
    -H 'Authorization: Bearer <access_token>'
```

**JS**

```javascript
import * as NotehubJs from "@blues-inc/notehub-js";

let defaultClient = NotehubJs.ApiClient.instance;
// Configure Bearer access token for authorization: personalAccessToken
let personalAccessToken = defaultClient.authentications["personalAccessToken"];
personalAccessToken.accessToken = "YOUR ACCESS TOKEN";

let apiInstance = new NotehubJs.EventApi();
let projectOrProductUID = "app:2606f411-dea6-44a0-9743-1130f57d77d8";
let opts = {
  limit: 50,
};

apiInstance.getEventsByCursor(projectOrProductUID, opts).then(
  (data) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data),
    );
  },
  (error) => {
    console.error(error);
  },
);
```

**Python**

```python
import os
from pprint import pprint

import notehub_py

configuration = notehub_py.Configuration(
    access_token=os.environ["BEARER_TOKEN"]
)

# Enter a context with an instance of the API client
with notehub_py.ApiClient(configuration) as api_client:
    api_instance = notehub_py.EventApi(api_client)
    project_or_product_uid = "app:2606f411-dea6-44a0-9743-1130f57d77d8"

    try:
        api_response = api_instance.get_events_by_cursor(
            project_or_product_uid, limit=50
        )
        print("The response of EventApi->get_events_by_cursor:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling EventApi->get_events_by_cursor: %s\n" % e)
```

**Optional Params**

**Bash**

```bash
curl -X GET
    -L 'https://api.notefile.net/v1/projects/<projectOrProductUID>/events-cursor?fleetUID=<fleetUID>&deviceUID=<deviceUID>&limit=<limit>&cursor=<cursor>&sortOrder=<sortOrder>&systemFilesOnly=<systemFilesOnly>&files=<files>'
    -H 'Authorization: Bearer <access_token>'
```

**Response Members**

### `events` {#get-project-events-by-cursor--events}

*array*

An array of events (see the [Get Project Events](https://dev.blues.io/api-reference/notehub-api/event-api.md#get-project-events) response for a full description of the data elements returned).

### `next_cursor` {#get-project-events-by-cursor--nextcursor}

*string*

The cursor value of the next [EventUID](https://dev.blues.io/api-reference/glossary.md#eventuid), which is intended to be used as the `cursor` parameter of the subsequent call to this API. An empty string is returned if there are no additional results to display.

### `has_more` {#get-project-events-by-cursor--hasmore}

*boolean*

Defines whether or not there are additional events beyond this list.

Example Response

```json
{
  "events": [
    {
      "event": "dfa3747d-688b-4250-935b-5dd60354313c",
      "session": "b623132c-6afb-4740-bc39-e3634e38f064",
      "best_id": "My Device",
      "device": "dev:5c0272311928",
      "sn": "My Device",
      "product": "product:com.blues.project:demo",
      "app": "app:3733f429-9335-6756-3456-c397c0000000",
      "received": 1656011227.006928,
      "req": "note.add",
      "when": 1656010061,
      "file": "203733583236500300070022#air.qo",
      "updates": 1,
      "body": {
        "humidity": 40.375,
        "pressure": 97705.66,
        "temperature": 24.0625,
        "voltage": 2.598
      },
      "best_location_type": "triangulated",
      "best_location_when": 1652709545,
      "best_lat": 34.82476372,
      "best_lon": -83.32261614,
      "best_location": "Atlanta GA",
      "best_country": "US",
      "best_timezone": "America/New_York",
      "tower_when": 1652709545,
      "tower_lat": 34.82475372,
      "tower_lon": -83.32261614,
      "tower_location": "Atlanta GA",
      "tower_country": "US",
      "tower_timezone": "America/New_York",
      "tower_id": "0,0,0,0",
      "tri_when": 1652709545,
      "tri_lat": 34.82475372,
      "tri_lon": -83.32261614,
      "tri_location": "Atlanta GA",
      "tri_country": "US",
      "tri_timezone": "America/New_York",
      "tri_points": 6
    }
  ],
  "next_cursor": "00000000-0000-0000-0000-000000000000",
  "has_more": false
}
```

## Get Fleet Events (Notehub) {#get-fleet-events}

Get an array of Notehub events by [FleetUID](https://dev.blues.io/api-reference/glossary.md#fleetuid).

| | |
| - | - |
| HTTP Method: | `GET` |
| URL: | `https://api.notefile.net/v1/projects/{projectOrProductUID}/fleets/{fleetUID}/events` |
| Path Parameters: | - `projectOrProductUID` - The [ProjectUID](https://dev.blues.io/api-reference/glossary.md#projectuid) or [ProductUID](https://dev.blues.io/api-reference/glossary.md#productuid) of a Notehub project.
- `fleetUID` - The [FleetUID](https://dev.blues.io/api-reference/glossary.md#fleetuid) of a Notehub fleet. |
| Minimum Notehub [project-level role:](https://dev.blues.io/notehub/notehub-walkthrough.md#collaborator-roles) | viewer |
| Required HTTP Headers: | `Authorization: Bearer <token>`, where the token is a valid [authentication token](https://dev.blues.io/api-reference/notehub-api.md#authentication). |

note

This API reference displays all possible fields that can be present in an event response. However, certain fields will only be present for certain types of events (e.g. Note added event, Note updated event, .dbs update event, Notehub session event, etc).

Arguments

### `fleetUID` {#get-fleet-events--fleetuid}

*array (optional)*

An [array](https://dev.blues.io/api-reference/notehub-api.md#using-array-arguments) of FleetUIDs to filter events by.

### `pageSize` {#get-fleet-events--pagesize}

*integer (optional)*

Specifies the number of events to be returned by a request (default 50).

### `pageNum` {#get-fleet-events--pagenum}

*integer (optional)*

Specifies the page number of the results returned (useful when the `pageSize` is less than the total number of sessions that could be returned). When provided, the `pageNum` must be >= `1`.

### `cursor` {#get-fleet-events--cursor}

*string (optional)*

Use this to retrieve events in batches, ordered by when each event was last created or updated in Notehub (oldest first). Each response includes `has_more`, which is `true` if there are more events to retrieve, and a `next_cursor` value to pass as the `cursor` of your next request to get the next batch. Set `cursor` to:

- `0` to start from the beginning.
- A Unix epoch time in microseconds (UTC) to retrieve only events last changed at or after that time.
- The `next_cursor` value returned by a previous request, to pick up where that request left off.

When `format` is `csv`, the response body is plain CSV rows with no room for `has_more` or `next_cursor`, so read them from the `X-Has-More` and `X-Next-Cursor` response headers instead.

`cursor` cannot be combined with `pageNum`, `sortBy`, or `sortOrder`.

### `deviceUID` {#get-fleet-events--deviceuid}

*array (optional)*

An [array](https://dev.blues.io/api-reference/notehub-api.md#using-array-arguments) of [DeviceUIDs](https://dev.blues.io/api-reference/glossary.md#deviceuid) to filter events by.

### `sortBy` {#get-fleet-events--sortby}

*string (optional)*

Specifies a field in the result set to sort by, and must be one of the following: `best_id`, `device_serial`, `device_uid`, `captured`, `modified`, `device_location`, `tower_location`, `triangulated_location`, `best_location`.

### `sortOrder` {#get-fleet-events--sortorder}

*string (optional)*

Specifies the ascending (`asc`) or descending (`desc`) order of the result set when paired with `sortBy`. The default is `asc`.

### `startDate` {#get-fleet-events--startdate}

*UNIX Epoch time (optional)*

Start date for filtering results, specified as a Unix timestamp

### `endDate` {#get-fleet-events--enddate}

*UNIX Epoch time (optional)*

End date for filtering results, specified as a Unix timestamp.

### `dateType` {#get-fleet-events--datetype}

*string (optional)*

Which date to filter on, either `captured` or `uploaded`. This will apply to the `startDate` and `endDate` parameters.

### `systemFilesOnly` {#get-fleet-events--systemfilesonly}

*boolean (optional)*

If `true`, will only return [System Notefiles](https://dev.blues.io/api-reference/system-notefiles.md) in the response.

### `files` {#get-fleet-events--files}

*string (optional)*

Limit the query to return only the Notefile(s) named in this argument (e.g. `&files=track.qo,sensor.qo`).

### `format` {#get-fleet-events--format}

*string (optional)*

Response format ("json" or "csv").

### `serialNumber` {#get-fleet-events--serialnumber}

*array (optional)*

An [array](https://dev.blues.io/api-reference/notehub-api.md#using-array-arguments) of serial numbers to filter events by.

### `sessionUID` {#get-fleet-events--sessionuid}

*array (optional)*

An [array](https://dev.blues.io/api-reference/notehub-api.md#using-array-arguments) of SessionUIDs to filter events by.

### `eventUID` {#get-fleet-events--eventuid}

*array (optional)*

An [array](https://dev.blues.io/api-reference/notehub-api.md#using-array-arguments) of EventUIDs to filter events by.

### `selectFields` {#get-fleet-events--selectfields}

*string (optional)*

Comma-separated list of fields to include in the response (e.g., "field1,field2.subfield,field3").

**Basic**

**Bash**

```bash
curl -X GET
    -L 'https://api.notefile.net/v1/projects/<projectOrProductUID>/fleets/<fleetUID>/events'
    -H 'Authorization: Bearer <access_token>'
```

**JS**

```javascript
import * as NotehubJs from "@blues-inc/notehub-js";

let defaultClient = NotehubJs.ApiClient.instance;
// Configure Bearer access token for authorization: personalAccessToken
let personalAccessToken = defaultClient.authentications["personalAccessToken"];
personalAccessToken.accessToken = "YOUR ACCESS TOKEN";

let apiInstance = new NotehubJs.EventApi();
let projectOrProductUID = "app:2606f411-dea6-44a0-9743-1130f57d77d8";
let fleetUID = "fleet:1042ddc5-3b2c-4cec-b1fb-d3040538094d";
let opts = {
  pageSize: 50,
  pageNum: 1,
};

apiInstance.getFleetEvents(projectOrProductUID, fleetUID, opts).then(
  (data) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data),
    );
  },
  (error) => {
    console.error(error);
  },
);
```

**Python**

```python
import os
from pprint import pprint

import notehub_py

configuration = notehub_py.Configuration(
    access_token=os.environ["BEARER_TOKEN"]
)

# Enter a context with an instance of the API client
with notehub_py.ApiClient(configuration) as api_client:
    api_instance = notehub_py.EventApi(api_client)
    project_or_product_uid = "app:2606f411-dea6-44a0-9743-1130f57d77d8"
    fleet_uid = "fleet:1042ddc5-3b2c-4cec-b1fb-d3040538094d"

    try:
        api_response = api_instance.get_fleet_events(
            project_or_product_uid, fleet_uid, page_size=50, page_num=1
        )
        print("The response of EventApi->get_fleet_events:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling EventApi->get_fleet_events: %s\n" % e)
```

**Optional Params**

**Bash**

```bash
curl -X GET
    -L 'https://api.notefile.net/v1/projects/<projectOrProductUID>/fleets/<fleetUID>/events?pageSize=<pageSize>&pageNum=<pageNum>&cursor=<cursor>&deviceUID=<deviceUID>&sortBy=<sortBy>&sortOrder=<sortOrder>&startDate=<startDate>&endDate=<endDate>&systemFilesOnly=<systemFilesOnly>&files=<files>&format=<format>&serialNumber=<serialNumber>&sessionUID=<sessionUID>&eventUID=<eventUID>&selectFields=<selectFields>'
    -H 'Authorization: Bearer <access_token>'
```

**Response Members**

### `events` {#get-fleet-events--events}

*array*

An array of events (see the [Get Project Events](https://dev.blues.io/api-reference/notehub-api/event-api.md#get-project-events) response for a full description of the data elements returned).

### `through` {#get-fleet-events--through}

*string*

The globally-unique identifier of the last event in the array.

### `has_more` {#get-fleet-events--hasmore}

*boolean*

Defines whether or not there are additional events beyond this list.

### `next_cursor` {#get-fleet-events--nextcursor}

*string (optional)*

A marker for where this batch of events ended. Pass it, exactly as returned, as the `cursor` argument of your next request to get the next batch. It's returned even when `has_more` is `false`, so once you've caught up you can keep using it to retrieve only the events that have changed since. When `format` is `csv`, read this value from the `X-Next-Cursor` response header instead. Only returned when the request includes a `cursor`.

Example Response

```json
{
  "events": [
    {
      "event": "dfa3747d-688b-4250-935b-5dd60354313c",
      "session": "b623132c-6afb-4740-bc39-e3634e38f064",
      "best_id": "My Device",
      "device": "dev:5c0272311928",
      "sn": "My Device",
      "product": "product:com.blues.project.demo",
      "app": "app:3733f429-9335-6756-3456-c397c0000000",
      "received": 1656011227.006928,
      "req": "note.add",
      "when": 1656010061,
      "file": "203733583236500300070022#air.qo",
      "updates": 1,
      "body": {
        "humidity": 40.375,
        "pressure": 97705.66,
        "temperature": 24.0625,
        "voltage": 2.598
      },
      "best_location_type": "triangulated",
      "best_location_when": 1652709545,
      "best_lat": 34.82476372,
      "best_lon": -83.32261614,
      "best_location": "Atlanta GA",
      "best_country": "US",
      "best_timezone": "America/New_York",
      "tower_id": "0,0,0,0",
      "tri_when": 1652709545,
      "tri_lat": 34.82475372,
      "tri_lon": -83.32261614,
      "tri_location": "Atlanta GA",
      "tri_country": "US",
      "tri_timezone": "America/New_York",
      "tri_points": 6
    }
  ],
  "through": "dfa3747d-688b-4250-935b-5dd60354313c",
  "has_more": false,
  "next_cursor": "1784278029057227.52735"
}
```

## Get Fleet Events by Cursor (Notehub) (Deprecated) {#get-fleet-events-by-cursor}

Get an array of Notehub events by [FleetUID](https://dev.blues.io/api-reference/glossary.md#fleetuid) and cursor (i.e. a means of limiting your result set).

deprecated

This request is deprecated. Use the [Get Fleet Events](https://dev.blues.io/api-reference/notehub-api/event-api.md#get-fleet-events) request with the `cursor` argument instead.

| | |
| - | - |
| HTTP Method: | `GET` |
| URL: | `https://api.notefile.net/v1/projects/{projectOrProductUID}/fleets/{fleetUID}/events-cursor` |
| Path Parameters: | - `projectOrProductUID` - The [ProjectUID](https://dev.blues.io/api-reference/glossary.md#projectuid) or [ProductUID](https://dev.blues.io/api-reference/glossary.md#productuid) of a Notehub project.
- `fleetUID` - The [FleetUID](https://dev.blues.io/api-reference/glossary.md#fleetuid) of a Notehub fleet. |
| Minimum Notehub [project-level role:](https://dev.blues.io/notehub/notehub-walkthrough.md#collaborator-roles) | viewer |
| Required HTTP Headers: | `Authorization: Bearer <token>`, where the token is a valid [authentication token](https://dev.blues.io/api-reference/notehub-api.md#authentication). |

note

This API reference displays all possible fields that can be present in an event response. However, certain fields will only be present for certain types of events (e.g. Note added event, Note updated event, .dbs update event, Notehub session event, etc).

Arguments

### `limit` {#get-fleet-events-by-cursor--limit}

*integer (optional)*

The number of records to return (minimum value is `1`, maximum value is `10000`). Default value is `50`.

### `cursor` {#get-fleet-events-by-cursor--cursor}

*string (optional)*

The globally-unique [EventUID](https://dev.blues.io/api-reference/glossary.md#eventuid) obtained from the `next_cursor` value from a previous call to this API. The result set will include this event as its first result. However, if the provided EventUID is not valid, this parameter is ignored.

### `sortOrder` {#get-fleet-events-by-cursor--sortorder}

*string (optional)*

Specifies the ascending (`asc`) or descending (`desc`) order of the result set based on the timestamp at which the event was received in Notehub. The default is `asc`.

### `systemFilesOnly` {#get-fleet-events-by-cursor--systemfilesonly}

*boolean (optional)*

If `true`, will only return [System Notefiles](https://dev.blues.io/api-reference/system-notefiles.md) in the response.

### `files` {#get-fleet-events-by-cursor--files}

*string (optional)*

Limit the query to return only the Notefile(s) named in this argument (e.g. `&files=track.qo,sensor.qo`).

### `deviceUID` {#get-fleet-events-by-cursor--deviceuid}

*array (optional)*

An [array](https://dev.blues.io/api-reference/notehub-api.md#using-array-arguments) of DeviceUIDs of Notehub [devices](https://dev.blues.io/api-reference/glossary.md#device).

### `startDate` {#get-fleet-events-by-cursor--startdate}

*UNIX Epoch time (optional)*

Start date for filtering results, specified as a Unix timestamp

### `endDate` {#get-fleet-events-by-cursor--enddate}

*UNIX Epoch time (optional)*

End date for filtering results, specified as a Unix timestamp.

**Example**

**Bash**

```bash
curl -X GET
    -L 'https://api.notefile.net/v1/projects/<projectOrProductUID>/fleets/<fleetUID>/events-cursor?limit=<limit>&cursor=<cursor>&sortOrder=<sortOrder>&systemFilesOnly=<systemFilesOnly>&files=<files>&deviceUID=<deviceUID>&startDate=<startDate>&endDate=<endDate>'
    -H 'Authorization: Bearer <access_token>'
```

**JS**

```javascript
import * as NotehubJs from "@blues-inc/notehub-js";

let defaultClient = NotehubJs.ApiClient.instance;
// Configure Bearer access token for authorization: personalAccessToken
let personalAccessToken = defaultClient.authentications["personalAccessToken"];
personalAccessToken.accessToken = "YOUR ACCESS TOKEN";

let apiInstance = new NotehubJs.EventApi();
let projectOrProductUID = "app:2606f411-dea6-44a0-9743-1130f57d77d8";
let fleetUID = "fleet:1042ddc5-3b2c-4cec-b1fb-d3040538094d";
let opts = {
  limit: 50,
};

apiInstance.getFleetEventsByCursor(projectOrProductUID, fleetUID, opts).then(
  (data) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data),
    );
  },
  (error) => {
    console.error(error);
  },
);
```

**Python**

```python
import os
from pprint import pprint

import notehub_py

configuration = notehub_py.Configuration(
    access_token=os.environ["BEARER_TOKEN"]
)

# Enter a context with an instance of the API client
with notehub_py.ApiClient(configuration) as api_client:
    api_instance = notehub_py.EventApi(api_client)
    project_or_product_uid = "app:2606f411-dea6-44a0-9743-1130f57d77d8"
    fleet_uid = "fleet:1042ddc5-3b2c-4cec-b1fb-d3040538094d"

    try:
        api_response = api_instance.get_fleet_events_by_cursor(
            project_or_product_uid, fleet_uid, limit=50
        )
        print("The response of EventApi->get_fleet_events_by_cursor:\n")
        pprint(api_response)
    except Exception as e:
        print(
            "Exception when calling EventApi->get_fleet_events_by_cursor: %s\n"
            % e
        )
```

**Response Members**

### `events` {#get-fleet-events-by-cursor--events}

*array*

An array of events (see the [Get Project Events](https://dev.blues.io/api-reference/notehub-api/event-api.md#get-project-events) response for a full description of the data elements returned).

### `next_cursor` {#get-fleet-events-by-cursor--nextcursor}

*string*

The globally-unique identifier of the last event in the array.

### `has_more` {#get-fleet-events-by-cursor--hasmore}

*boolean*

Defines whether or not there are additional events beyond this list.

Example Response

```json
{
  "events": [
    {
      "event": "dfa3747d-688b-4250-935b-5dd60354313c",
      "session": "b623132c-6afb-4740-bc39-e3634e38f064",
      "best_id": "My Device",
      "device": "dev:5c0272311928",
      "sn": "My Device",
      "product": "product:com.blues.project.demo",
      "app": "app:3733f429-9335-6756-3456-c397c0000000",
      "received": 1656011227.006928,
      "req": "note.add",
      "when": 1656010061,
      "file": "203733583236500300070022#air.qo",
      "updates": 1,
      "body": {
        "humidity": 40.375,
        "pressure": 97705.66,
        "temperature": 24.0625,
        "voltage": 2.598
      },
      "best_location_type": "triangulated",
      "best_location_when": 1652709545,
      "best_lat": 34.82476372,
      "best_lon": -83.32261614,
      "best_location": "Atlanta GA",
      "best_country": "US",
      "best_timezone": "America/New_York",
      "tower_id": "0,0,0,0",
      "tri_when": 1652709545,
      "tri_lat": 34.82475372,
      "tri_lon": -83.32261614,
      "tri_location": "Atlanta GA",
      "tri_country": "US",
      "tri_timezone": "America/New_York",
      "tri_points": 6
    }
  ],
  "next_cursor": "00000000-0000-0000-0000-000000000000",
  "has_more": false
}
```

## Get Route Logs by Event (Notehub) {#get-route-logs-by-event}

Get an array of route logs associated with a Notehub [project](https://dev.blues.io/api-reference/glossary.md#project) by [event UID](https://dev.blues.io/api-reference/glossary.md#eventuid).

| | |
| - | - |
| HTTP Method: | `GET` |
| URL: | `https://api.notefile.net/v1/projects/{projectOrProductUID}/events/{eventUID}/route-logs` |
| Path Parameters: | - `projectOrProductUID` - The [ProjectUID](https://dev.blues.io/api-reference/glossary.md#projectuid) or [ProductUID](https://dev.blues.io/api-reference/glossary.md#productuid) of a Notehub project.
- `eventUID` - The [EventUID](https://dev.blues.io/api-reference/glossary.md#eventuid) of a Notehub project's event. |
| Minimum Notehub [project-level role:](https://dev.blues.io/notehub/notehub-walkthrough.md#collaborator-roles) | viewer |
| Required HTTP Headers: | `Authorization: Bearer <token>`, where the token is a valid [authentication token](https://dev.blues.io/api-reference/notehub-api.md#authentication). |

Arguments

None

**Example**

**Bash**

```bash
curl -X GET
    -L 'https://api.notefile.net/v1/projects/<projectOrProductUID>/events/<eventUID>/route-logs'
    -H 'Authorization: Bearer <access_token>'
```

**JS**

```javascript
import * as NotehubJs from "@blues-inc/notehub-js";

let defaultClient = NotehubJs.ApiClient.instance;
// Configure Bearer access token for authorization: personalAccessToken
let personalAccessToken = defaultClient.authentications["personalAccessToken"];
personalAccessToken.accessToken = "YOUR ACCESS TOKEN";

let apiInstance = new NotehubJs.EventApi();
let projectOrProductUID = "app:2606f411-dea6-44a0-9743-1130f57d77d8";
let eventUID = "dfa3747d-688b-4250-935b-5dd60354313c";

apiInstance.getRouteLogsByEvent(projectOrProductUID, eventUID).then(
  (data) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data),
    );
  },
  (error) => {
    console.error(error);
  },
);
```

**Python**

```python
import os
from pprint import pprint

import notehub_py

configuration = notehub_py.Configuration(
    access_token=os.environ["BEARER_TOKEN"]
)

# Enter a context with an instance of the API client
with notehub_py.ApiClient(configuration) as api_client:
    api_instance = notehub_py.EventApi(api_client)
    project_or_product_uid = "app:2606f411-dea6-44a0-9743-1130f57d77d8"
    event_uid = "dfa3747d-688b-4250-935b-5dd60354313c"

    try:
        api_response = api_instance.get_route_logs_by_event(
            project_or_product_uid, event_uid
        )
        print("The response of EventApi->get_route_logs_by_event:\n")
        pprint(api_response)
    except Exception as e:
        print(
            "Exception when calling EventApi->get_route_logs_by_event: %s\n" % e
        )
```

**Response Members**

### `date` {#get-route-logs-by-event--date}

*string*

The date/time stamp of the log entry.

### `routeUID` {#get-route-logs-by-event--routeuid}

*string*

The globally-unique identifier of the route.

### `eventUID` {#get-route-logs-by-event--eventuid}

*string*

The globally-unique identifier of the event.

### `attn` {#get-route-logs-by-event--attn}

*boolean*

If `true`, an error was returned when routing.

### `status` {#get-route-logs-by-event--status}

*string*

The status of the event.

### `text` {#get-route-logs-by-event--text}

*string*

The response body of the route.

### `url` {#get-route-logs-by-event--url}

*string*

The URL of the route.

Example Response

```json
[
  {
    "date": "2023-08-07T17:29:21.677934Z",
    "routeUID": "app:4be5d3ac-998a-44f0-8ecd-6bd716858b3c/route:d632e16fc956162ae3db4f20ddacc2b1",
    "eventUID": "cccd9b22-b156-47ee-b399-bf7e1c45d5f0",
    "attn": false,
    "status": "200",
    "text": "thanks",
    "url": "https://example.com/route"
  }
]
```

[Device API](https://dev.blues.io/api-reference/notehub-api/device-api.md "Device API") [Jobs API](https://dev.blues.io/api-reference/notehub-api/jobs-api.md "Jobs API")

Can we improve this page? [Send us feedback](mailto:devrel@blues.com)
