---
title: "Create a Task"
method: POST
path: "/api/record/task"
---

# Create a Task

`POST /api/record/task`

## Request body

- object
  - `subject` string, required — Subject of the task (Primary).
  - `description` string — Description of up to 4,000 characters.
  - `objectid` string — The related record's GUID. Can belong to any editable system object type.
  - `objecttypecode` integer — Object number of the object the related record belongs to. If you set the objectid field, you MUST set this field as well.
  - `ownerid` string — The GUID of the system user who created the record, can also be set manually. Will be used for permissions.
  - `prioritycode` integer — Priority (Picklist)
  - `reminderdate` string, date — Date and time the owner will be reminded of the task.
  - `scheduledend` string, date — Date and time the task is scheduled to be completed by.
  - `statuscode` integer — Status (Picklist)
  - `tasktypecode` integer — Type (Picklist)

## Response `200`

200

## Other responses

- `400` — 400
- `401` — 401

---

[API](https://skmtc.dev/fireberry/apis/fireberry-api.md) · [All operations](https://skmtc.dev/fireberry/apis/fireberry-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fireberry/fireberry-api/revisions/ad6720f3920f/schema)
