Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/oura_api/src/types/webhook.ts>Subscription

Typescript project to interact with v2 of the Oura Ring API
Latest
interface Subscription
import { type Subscription } from "https://deno.land/x/oura_api@1.0.1/src/types/webhook.ts";

Represents a single Oura webhook subscription.

Properties

id: string

Unique identifier for the subscription

callback_url: string

URL where Oura will send webhook notifications

event_type: EventType

The EventType that triggers the webhook (e.g., "create", "update", "delete")

data_type: DataType

The DataType the subscription monitors

expiration_time: string

The subscription's expiration time