Create task

POST {{baseUrl}}/api/v1/tasks

This API creates a task in your help desk portal.

OAuth Scope

  • Desk.activities.CREATE
  • Desk.activities.tasks.CREATE
  • Desk.tasks.CREATE

Attributes

Attribute NameData TypeDescription
customFields<list>
User-defined fields related to the task
cf<list>
User-defined fields related to the task
departmentId (required)<long>
ID of the department in which the task must be created
subject (required)<string>
max chars : 300
Subject of the task
ticketId<long>
ID of the ticket with which the task must be associated
dueDate<timestamp>
Due date for completing the task
ownerId<long>
ID of the user to whom the task is assigned
category<string>
max chars : 120
Category of the task
status<string>
max chars : 120
Status of task completion
priority<string>
max chars : 120
Priority of the task
description<string>
max chars : 65535
Description of the task
contactId<long>
ID of the contact associated with the task
reminder<JSONArray>
Details of the reminder set for the task

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;modifiedTime&quot;:&quot;2016-07-14T09:14:41.000Z&quot;,&quot;cf&quot;:{},&quot;subject&quot;:&quot;Bug Fix #120&quot;,&quot;departmentId&quot;:&quot;3000000007043&quot;,&quot;dueDate&quot;:&quot;2016-07-21T16:16:16.000Z&quot;,&quot;creatorId&quot;:&quot;3000000008692&quot;,&quot;description&quot;:null,&quot;ownerId&quot;:null,&quot;priority&quot;:&quot;High&quot;,&quot;webUrl&quot;:&quot;https://desk.zoho.com/support/zylker/ShowHomePage.do#Tasks/dv/51123033fe97b2f886f750280ded9c40&quot;,&quot;createdTime&quot;:&quot;2016-07-14T08:27:26.000Z&quot;,&quot;modifiedBy&quot;:{&quot;firstName&quot;:&quot;George&quot;,&quot;lastName&quot;:&quot;McKinson&quot;,&quot;photoURL&quot;:null,&quot;id&quot;:&quot;5000000015911&quot;},&quot;id&quot;:&quot;3000000054002&quot;,&quot;isSpam&quot;:false,&quot;category&quot;:&quot;null&quot;,&quot;ticketId&quot;:&quot;3000000008753&quot;,&quot;status&quot;:&quot;In Progress&quot;}