---
title: "Create Watch Endpoint"
method: POST
path: "/v1/watches"
tags: ["watches"]
---

# Create Watch Endpoint

`POST /v1/watches`

## Request

- Base URL: `https://api.actionbox.cloud`
- URL: `https://api.actionbox.cloud/v1/watches`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `actionbox_session`

## Headers

- `x-user-id` string, nullable
- `authorization` string, nullable
- `X-Actionbox-Client` string, nullable

## Cookies

- `actionbox_session` string, nullable

## Request body

- UserWatchCreate: User-session creation names the Source; Source auth already supplies it.
  - `source_id` string, required
  - `name` string, required
  - `schedule_type` 'interval' | 'cron', required
  - `interval_seconds` integer, nullable
  - `cron_expression` string, nullable
  - `timezone` string
  - `grace_seconds` integer
  - `max_runtime_seconds` integer, nullable
  - `priority` 'low' | 'normal' | 'high' | 'urgent'
  - `runbook_url` string, uri, nullable
  - `signal_method` 'any' | 'post'

## Response `201`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/actionbox/apis/actionbox-api.md) · [All operations](https://skmtc.dev/actionbox/apis/actionbox-api/llms.txt) · [OpenAPI document](https://skmtc.dev/actionbox/apis/actionbox-api/revisions/bfb9b622e725?raw)
