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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"callback_url": "<callback_url>",
"verification_token": "<verification_token>",
"event_type": "<event_type>",
"data_type": "<data_type>"
},
"name": "create_webhook_subscription"
}
}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 |