Start a cloud connection (Oura, Whoop, Garmin)
Returns a hosted authorization URL to open in a browser, ASWebAuthenticationSession or Custom Tab.
After the user approves, they return to redirectUri and connection.created fires.
On-device providers (Apple Health, Health Connect) are connected through the SDK, not this endpoint.
Path Parameters
- Type:user
Id required
Body
required
application/json
- Type: "oura" or "whoop" or "garmin"enumproviderrequired
- Type: stringFormat: uriredirect
Uri required - Type: integerbackfill
Days min:0max:365Integer numbers.
Responses
- application/json
Request Example for post/users/{userId} /connections
curl https://api.eno.health/users/usr_01JA2Y7Q3K8V5T0N4R6M2P9XWE/connections \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"provider": "oura",
"redirectUri": "https://example.com",
"backfillDays": 90
}'
{
"id": "string",
"authorizationUrl": "https://example.com",
"expiresAt": "2026-11-16T17:41:54.287Z"
}