Zira logo
Support
Developers
Authentication
AUTH

API Authentication

Posts
POST

Add Post

Readings
GET

Download Template

GET

Get Readings

POST

Add Readings

Tasks
GET

Get Tasks

POST

Add Task

PATCH

Update Task

Add Task

POST
https://api.zira.us/public/task/
Description

Use this endpoint to create a task in Zira from an external integration flow.

PropertyRequiredTypeExampleDescription
name
Required
stringReplace inlet filter on Line 1Task name.
siteId
Required
string1512Site the task belongs to.
typeId
Required
string1Task type. "1" for a manual task, "3" for a task about a data source. Send it explicitly — leaving it out makes the request fail asking for deviceId.
deviceId
Optional
string43510Data source the task is about. Required when typeId is "3", and not allowed when typeId is "1".
priorityId
Optional
string10Priority — 5 Low, 10 Medium, 15 High. An unrecognised value is silently ignored.
statusId
Optional
string5Status. Defaults to "5" (To Do). Omit the key rather than sending null.
description
Optional
stringDifferential pressure above threshold for two shifts.Plain-text task description.
dueDate
Optional
string2026-06-01T12:00:00ZWhen the task is due.
assigneeId
Optional
string318User to assign the task to.
toChannelId
Optional
string45187Channel the task’s feed post is created in.
fileIds
Optional
string[]["812", "813"]Files to attach to the task.
formattedDescription
Optional
object[][{ "type": "paragraph", "children": [{ "text": "Line 1 filter" }] }]Rich-text description as an array of nodes. A plain HTML string is rejected — use description for plain text.
timeSpentMandatory
Optional
booleanfalseRequire time to be logged before the task can be completed.
noInitialComment
Optional
booleantrueSet true to skip the automatic opening comment. Omit it rather than sending false.