Skip to main content

What is Cuey?

Cuey schedules webhooks—one-time events or recurring cron jobs. Simple and precise.

Key Features

Precision Timing

Events are scheduled with millisecond precision and delivered within ±10 milliseconds accuracy.

Recurring Jobs

Create cron jobs that run on schedule with timezone support and automatic event generation.

Smart Retries

Configurable retry logic with exponential or linear backoff for failed webhook deliveries.

Complete History

Track every webhook execution with response data, status codes, and error messages.

Type-Safe SDK

Full TypeScript support with comprehensive type definitions and excellent IDE autocomplete.

REST API

Simple REST API for direct integration or building custom clients in any language.

Quick Example

Schedule a one-time webhook:
import { cuey } from "cuey";

const event = await cuey.schedule({
  webhook_url: "https://api.example.com/webhook",
  scheduled_at: "2024-12-31T23:59:59Z",
  payload: { message: "Happy New Year!" },
});
Create a recurring webhook:
const cron = await cuey.repeat({
  webhook_url: "https://api.example.com/daily-report",
  cron_expression: "0 9 * * *", // 9 AM daily
  timezone: "America/New_York",
  payload: { report_type: "daily" },
});

What’s Next?