---
title: "Create Task"
method: POST
path: "/admin/marketing/tasks"
tags: ["admin"]
---

# Create Task

`POST /admin/marketing/tasks`

## Request

- Base URL: `https://api.framesail.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.framesail.com/admin/marketing/tasks`
- Auth: HTTP bearer

## Request body

- TaskCreate
  - `title` string, required
  - `board` string
  - `brief` string
  - `campaign_id` string, nullable
  - `platform` string
  - `content_type` string
  - `status` string
  - `assignee` string
  - `due_date` string, nullable
  - `source` string
  - `tags` string[]
  - `sort_order` number, nullable
  - `payload` object

## Response `201`

Successful Response

- Task
  - `id` string, required
  - `board` string, required
  - `campaign_id` string, nullable, required
  - `title` string, required
  - `brief` string, required
  - `platform` string, required
  - `content_type` string, required
  - `status` string, required
  - `assignee` string, required
  - `due_date` string, nullable, required
  - `source` string, required
  - `tags` string[], required
  - `sort_order` number, nullable, required
  - `payload` object, required
  - `completed_at` string, nullable, required
  - `created_at` string, required
  - `updated_at` string, required

## Other responses

- `422`: Validation Error

---

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