Skip to content

NOWATCH API (0.9.0)

The NOWATCH API

Download OpenAPI description
Overview
Languages
Servers
Mock server

https://docs.api.nowatch.tech/_mock/apis/

https://docs.api.nowatch.tech/nowatch/

Operations
Operations

firmware

Firmware updates and downloads

Operations

admin-firmware

Admin firmware management

Operations

measurement

Time series health data (heart rate, temperature, activity, etc.)

Operations

insight

User insights, feedback, and reflections

Operations
Operations

checkin

User check-ins and wellness tracking

Operations
Operations

day-feedback

Daily feedback and mood tracking

Operations

Creates new day feedback ('How was your day/sleep?')

Request

Each day, the user receives two questions in the app, under the Now tab.

"How was your day?" question

This question appears once each day, when you open the app after the theoretical end of the workday (between 5 p.m. and midnight).

  • Possible values: very bad, bad, okay, good, very good.

"How was your sleep?" question

This question appears once each day, when you open the app after the theoretical end of the night of sleep (between 4 a.m. and midday).

  • Possible values: very bad, bad, okay, good, very good.
Security
bearer
Bodyapplication/jsonrequiredArray [
datetimestringrequired
typenumberrequired

The type of subjective input.

  • For SubjectiveInputType.DAY: Represents the "How was your day?" question. This question appears once each day, when the user opens the app after the theoretical end of the workday (between 5 p.m. and midnight).
  • For SubjectiveInputType.SLEEP: Represents the "How was your sleep?" question. This question appears once each day, when the user opens the app after the theoretical end of the night of sleep (between 4 a.m. and midday).
Enum0123456
valuenumberrequired

The value associated with the subjective input. For "How was your day?" and "How was your sleep?" questions, possible values are:

  • 1: Very bad
  • 2: Bad
  • 3: Okay
  • 4: Good
  • 5: Very good
tagnumberrequired

A tag associated with the subjective input. For day-feedback and feelings, this tag should be 0 and is not used.

notestring
]
curl -i -X POST \
  https://docs.api.nowatch.tech/_mock/apis/v1/day-feedback \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '[
    {
      "datetime": "string",
      "type": 0,
      "value": 0,
      "tag": 0,
      "note": "string"
    }
  ]'

Responses

Status: Success

Fetch all user day feedbacks based on type, start, end date

Request

Security
bearer
Query
typestringrequired
start_datestringrequired
end_datestringrequired
Headers
shared-userstring

The ID of the user to fetch measurements for (optional)

curl -i -X GET \
  'https://docs.api.nowatch.tech/_mock/apis/v1/day-feedback?type=string&start_date=string&end_date=string' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'shared-user: string'

Responses

Bodyapplication/jsonArray [
idstringrequired
datetimestring(date-time)required
createdstring(date-time)required
lastUpdatedstring(date-time)required
typenumberrequired
Enum0123456
valuenumberrequired
tagnumberrequired
notestringrequired
]
Response
application/json
[ { "id": "string", "datetime": "2019-08-24T14:15:22Z", "created": "2019-08-24T14:15:22Z", "lastUpdated": "2019-08-24T14:15:22Z", "type": 0, "value": 0, "tag": 0, "note": "string" } ]

Request

Security
bearer
Path
idstringrequired
Headers
shared-userstring

The ID of the user to fetch measurements for (optional)

curl -i -X GET \
  'https://docs.api.nowatch.tech/_mock/apis/v1/day-feedback/{id}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'shared-user: string'

Responses

Bodyapplication/json
idstringrequired
datetimestring(date-time)required
createdstring(date-time)required
lastUpdatedstring(date-time)required
typenumberrequired
Enum0123456
valuenumberrequired
tagnumberrequired
notestringrequired
Response
application/json
{ "id": "string", "datetime": "2019-08-24T14:15:22Z", "created": "2019-08-24T14:15:22Z", "lastUpdated": "2019-08-24T14:15:22Z", "type": 0, "value": 0, "tag": 0, "note": "string" }

Request

Security
bearer
Path
idstringrequired
Bodyapplication/jsonrequired
valuenumberrequired
tagnumberrequired
notestring
curl -i -X PUT \
  'https://docs.api.nowatch.tech/_mock/apis/v1/day-feedback/{id}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "value": 0,
    "tag": 0,
    "note": "string"
  }'

Responses

Status: Success

Request

Security
bearer
Path
idstringrequired
curl -i -X DELETE \
  'https://docs.api.nowatch.tech/_mock/apis/v1/day-feedback/{id}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Status: Success

Operations

activity

Sessions wrapper for activities

Operations

intention

Sessions wrapper for intentions

Operations

statistics

Aggregated health statistics

Operations

sharing

Manage sharing your data with other people

Operations

shared

Manage other people's data shared with you

Operations

telemetry

Application telemetry data (spans, metrics, logs)

Operations