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

# Receive Oura Webhook

`POST /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

Receive and process Oura webhook events.

Oura sends a JSON payload with an ``event_type``, ``data_type``, ``object_id``,
and ``user_id``. Signature is verified via HMAC-SHA256 before any processing
occurs. The actual data fetch + DB write is dispatched as a background task so
the 200 is returned to Oura promptly (Oura retries on non-2xx responses).

Args:
    request: Incoming HTTP request.
    background_tasks: FastAPI background task queue.
    db: Async database session.

Returns:
    JSON acknowledgement.

## Response `200`

Successful Response

- unknown

---

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