---
title: "Get Oura Connect Url"
method: GET
path: "/api/v1/integrations/oura/connect-url"
tags: ["integrations"]
---

# Get Oura Connect Url

`GET /api/v1/integrations/oura/connect-url`

## Request

- Base URL: `https://api.cohearence.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.cohearence.app/api/v1/integrations/oura/connect-url`
- Auth: HTTP bearer

Return the Oura OAuth consent URL with a signed state JWT carrying the user id.

Args:
    platform: ``"web"`` when the flow starts in the hosted web app, so the callback
        redirects the browser back to the web origin instead of the native deep link.

## Query parameters

- `platform` string, nullable

## Response `200`

Successful Response

- ConnectUrlResponse
  - `url` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/cohearence/apis/health-agent-api.md) · [All operations](https://skmtc.dev/cohearence/apis/health-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cohearence/apis/health-agent-api/revisions/c7aee7d6ecf0?raw)
