---
title: "Create an automation source"
method: POST
path: "/automations"
---

# Create an automation source

`POST /automations`

## Request

- Base URL: `https://sendinel.ai/api/v1`
- URL: `https://sendinel.ai/api/v1/automations`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://sendinel.ai/oauth/authorize`, token URL `https://sendinel.ai/oauth/token`)

## Request body

- object
  - `name` string, required
  - `source_type` 'rss' | 'webhook' | 'schedule' | 'github', required
  - `site_id` string, uuid, required
  - `format` string
  - `feed_url` string
  - `schedule_cron` string
  - `brief_template` string
  - `max_words` integer
  - `tone_override` string
  - `cta_url` string
  - `cta_text` string
  - `github_repo` string
  - `github_label_filter` string

## Response `201`

Automation created

---

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