Explore Plans
Mobile menu Close menu
Whoop

New sleep session recorded

This trigger fires when a new sleep session is recorded and finalized on your Whoop device.

Developer info

API endpoint slug
whoop.new_sleep_session_recorded

Trigger fields

No fields for this trigger

Ingredients

Sleep

Slug
sleep_id
Filter code
Whoop.newSleepSessionRecorded.SleepId
Type
String
Example
8a1e2f00-1234-4567-89ab-cdef01234567

Sleep start

Slug
sleep_start
Filter code
Whoop.newSleepSessionRecorded.SleepStart
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06+05:00

Sleep end

Slug
sleep_end
Filter code
Whoop.newSleepSessionRecorded.SleepEnd
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06+05:00

Total sleep duration Total in-bed time minus awake time, in hours.

Slug
total_sleep_duration
Filter code
Whoop.newSleepSessionRecorded.TotalSleepDuration
Type
String
Example
7.5

Sleep performance Sleep performance percentage (0–100).

Slug
sleep_performance
Filter code
Whoop.newSleepSessionRecorded.SleepPerformance
Type
String
Example
92

Sleep consistency Sleep consistency percentage (0–100).

Slug
sleep_consistency
Filter code
Whoop.newSleepSessionRecorded.SleepConsistency
Type
String
Example
78

Respiratory rate Average respiratory rate during sleep, breaths per minute.

Slug
respiratory_rate
Filter code
Whoop.newSleepSessionRecorded.RespiratoryRate
Type
String
Example
14.6

Sleep stage deep Slow-wave sleep duration in seconds.

Slug
sleep_stage_deep
Filter code
Whoop.newSleepSessionRecorded.SleepStageDeep
Type
String
Example
5400

Sleep stage rem REM sleep duration in seconds.

Slug
sleep_stage_rem
Filter code
Whoop.newSleepSessionRecorded.SleepStageRem
Type
String
Example
6300

Sleep stage light Light sleep duration in seconds.

Slug
sleep_stage_light
Filter code
Whoop.newSleepSessionRecorded.SleepStageLight
Type
String
Example
15300