provider hog_flows POST /api/projects/{project_id}/hog_flows/{id}/schedules/
@utdk/posthog /api/projects/{project_id}/hog_flows/{id}/schedules/
hog_flows_schedules_create
id path required
A UUID string identifying this hog flow.
string
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string

Try it

Authentication
Configure credentials for PostHog API
hogFlowsSchedulesCreate
POST/api/projects/{project_id}/hog_flows/{id}/schedules/

Parameters

required

A UUID string identifying this hog flow.

required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

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.hogFlowsSchedulesCreate()