provider hog_flows POST /api/environments/{environment_id}/hog_flows/{id}/schedules/
@utdk/posthog /api/environments/{environment_id}/hog_flows/{id}/schedules/
environments_hog_flows_schedules_create
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
id path required
A UUID string identifying this hog flow.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsHogFlowsSchedulesCreate
POST/api/environments/{environment_id}/hog_flows/{id}/schedules/

Parameters

required

Deprecated. Use /api/projects/{project_id}/ instead.

required

A UUID string identifying this hog flow.

Input

required
required

iCalendar RRULE string (e.g. 'FREQ=DAILY;INTERVAL=1'). Must produce occurrences at most once per hour.

required

ISO 8601 datetime the schedule starts from.

IANA timezone for interpreting the RRULE (default 'UTC').

Variable value overrides merged with the workflow defaults on each run.

required

active, paused, or completed (set once the RRULE's COUNT/UNTIL is exhausted). * `active` - Active * `paused` - Paused * `completed` - Completed

required

Next scheduled fire time, computed by the scheduler.

required
required

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.environmentsHogFlowsSchedulesCreate()