TeamGriddeveloper
post/tasksWrite operation

Create a task

Use this operation to create a task. The server validates the complete payload and derives workspace ownership from the authenticated credential. Required scopes, product permissions, sharing rules, workspace locks, and regional cell ownership are enforced for every request. Use a stable Idempotency-Key when retrying so a transport timeout cannot create duplicate work.

Required scopes
tasks:write
Interactive request builder

Prepare this request

Build locally · nothing is sent
Region
Generated cURL

The builder does not execute requests or persist credentials. Replace the environment-variable placeholder only in your terminal or secret-aware runtime.

Headers

1
Idempotency-Keyrequired
string

Unique request key retained for seven days. Within that window, reuse with different data is rejected.

Request body

application/json
assigneeId
stringnullable

Identifier of the user assigned to this work item.

billable
booleannullable

Whether this time or service can be billed.

contactId
stringnullable

Identifier of the related contact.

description
stringnullable

Human-readable description of the resource.

descriptionFormat
string

How to interpret the task description. Legacy and unmarked descriptions are plain-text; markdown-v1 enables TeamGrid Markdown.

plain-textmarkdown-v1
dueAt
stringdate-timenullable

ISO 8601 timestamp for due at.

groupId
stringnullable

Identifier of the related workspace group.

listId
stringnullable

Identifier of the related task list.

namerequired
string

Human-readable name of the resource.

plannedEndAt
stringdate-timenullable

ISO 8601 timestamp for planned end at.

plannedMinutes
integernullable

The planned minutes associated with this task.

plannedStartAt
stringdate-timenullable

ISO 8601 timestamp for planned start at.

projectId
stringnullable

Identifier of the related project.

serviceId
stringnullable

Identifier of the related service.

subscriberIds
arraynullable

Ordered set of subscriber identifiers associated with this task.

tagIds
arraynullable

Ordered set of tag identifiers associated with this task.

Responses

9
200An idempotent replay of an existing resource.application/json
Response schemaapplication/json
required
Task

Public API representation of task.

required
ResponseMeta

Public API representation of meta.

201The request to create a task created the resource. The response contains its canonical public representation and request metadata.application/json
Response schemaapplication/json
required
Task

Public API representation of task.

required
ResponseMeta

Public API representation of meta.

400The request is invalid.application/json
Response schemaapplication/json
required
array<ApiError>

The errors associated with this error.

required
ResponseMeta

Request metadata, including the request identifier and pagination state when applicable.

401The bearer credential is missing, invalid, expired, or revoked.application/json
Response schemaapplication/json
required
array<ApiError>

The errors associated with this error.

required
ResponseMeta

Request metadata, including the request identifier and pagination state when applicable.

403The credential has insufficient scope.application/json
Response schemaapplication/json
required
array<ApiError>

The errors associated with this error.

required
ResponseMeta

Request metadata, including the request identifier and pagination state when applicable.

409The request conflicts with the current resource state.application/json
Response schemaapplication/json
required
array<ApiError>

The errors associated with this error.

required
ResponseMeta

Request metadata, including the request identifier and pagination state when applicable.

429The credential or source exceeded its rate limit.application/json
Response schemaapplication/json
required
array<ApiError>

The errors associated with this error.

required
ResponseMeta

Request metadata, including the request identifier and pagination state when applicable.

502The cell-local application returned an invalid response.application/json
Response schemaapplication/json
required
array<ApiError>

The errors associated with this error.

required
ResponseMeta

Request metadata, including the request identifier and pagination state when applicable.

503A required cell-local dependency is unavailable.application/json
Response schemaapplication/json
required
array<ApiError>

The errors associated with this error.

required
ResponseMeta

Request metadata, including the request identifier and pagination state when applicable.

Documentation feedbackWas this page useful?
Esc

Search TeamGrid Developer

Find guides, concepts and every API operation.