---
title: "List workflow rules"
method: GET
path: "/v1/workflows/{workflow_id}/rules"
tags: ["Workflows"]
---

# List workflow rules

`GET /v1/workflows/{workflow_id}/rules`

## Request

- Base URL: `https://api.savvycal.com`
- URL: `https://api.savvycal.com/v1/workflows/{workflow_id}/rules`
- Auth: one of:
  - OAuth 2
    - Authorization code: `/oauth/authorize`
    - Token URL: `/oauth/token`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/savvycal/apis/savvycal-meetings-api/docs/v1/workflows/:workflow_id/rules/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `workflow_id` string, required

## Response `200`

Success

- WorkflowRule[]
  - `actions` WorkflowAction[], required
    - `created_at` string, date-time, required
    - `id` string, required
    - `properties` object, required: Settings for the action's `type`
    - `type` 'send_custom_email' | 'trigger_automation', required
  - `created_at` string, date-time, required
  - `id` string, required
  - `trigger_offset_amount` integer, required: How long before or after the trigger the actions run, in `trigger_offset_unit`
  - `trigger_offset_direction` 'before' | 'after', required
  - `trigger_offset_unit` 'minutes' | 'hours' | 'days', required
  - `trigger_type` 'event_created' | 'event_started' | 'event_ended', required

## Other responses

- `401`: Unauthorized
- `404`: Not Found

---

[API](https://skmtc.dev/savvycal/apis/savvycal-meetings-api.md) - [All operations](https://skmtc.dev/savvycal/apis/savvycal-meetings-api/llms.txt) - [OpenAPI document](https://skmtc.dev/savvycal/apis/savvycal-meetings-api/revisions/398985d699a3?raw)
