---
title: "Verify Oura Webhook"
method: GET
path: "/api/v1/oura/webhook"
tags: ["oura"]
---

# Verify Oura Webhook

`GET /api/v1/oura/webhook`

## 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/oura/webhook`
- Auth: none declared

Respond to Oura's subscription verification challenge.

When creating a webhook subscription, Oura sends a GET request with
``verification_token`` and ``challenge`` query params. We must confirm the
token matches our configured secret and echo back the challenge.

Args:
    verification_token: Token Oura received when the subscription was created.
    challenge: Random string Oura expects in the response body.

Returns:
    JSON body containing the challenge string.

Raises:
    HTTPException: If the verification token does not match.

## Query parameters

- `verification_token` string, required
- `challenge` string, required

## Response `200`

Successful Response

- object

## 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)
