create_webhook_subscription
Create an Oura webhook subscription to receive notifications when health data changes, using a callback URL and verification token.
Instructions
Create a new webhook subscription to receive notifications when data changes. Requires OURA_CLIENT_ID and OURA_CLIENT_SECRET environment variables. Valid data types: tag, enhanced_tag, workout, session, daily_activity, daily_sleep, daily_spo2, daily_readiness, sleep, sleep_time, rest_mode_period, ring_configuration, daily_stress, daily_resilience, daily_cardiovascular_age, vO2_max, heartrate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_type | Yes | ||
| event_type | Yes | ||
| callback_url | Yes | The URL to receive webhook notifications | |
| verification_token | Yes | A token used to verify webhook deliveries |