Create a task

POST/task/{connection_id}/task

Parameters

fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection

Payload

idstring
created_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestring
project_idstring
(reference to TaskProject)
parent_idstring
completed_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
status enum
Valid values:
"OPENED"
"IN_PROGRESS"
"COMPLETED"
notesstring
due_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
prioritystring
assigned_user_idsstring array
(reference to HrisEmployee)
creator_user_idstring
The user who created this task (reference to HrisEmployee)
follower_user_idsstring array
(reference to HrisEmployee)
group_idsstring array
(reference to HrisGroup)
tagsstring array
urlstring
attachment_idsstring array
Array of attachment IDs retrieved from StorageFile.Get endpoint
metadata array
has_childrenboolean

Returns

idstring
created_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestring
project_idstring
(reference to TaskProject)
parent_idstring
completed_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
status enum
Valid values:
"OPENED"
"IN_PROGRESS"
"COMPLETED"
notesstring
due_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
prioritystring
assigned_user_idsstring array
(reference to HrisEmployee)
creator_user_idstring
The user who created this task (reference to HrisEmployee)
follower_user_idsstring array
(reference to HrisEmployee)
group_idsstring array
(reference to HrisGroup)
tagsstring array
urlstring
attachment_idsstring array
Array of attachment IDs retrieved from StorageFile.Get endpoint
metadata array
has_childrenboolean
const options = {
  method: 'POST',
  url: 'https://api.unified.to/task/5de520f96e439b002043d8dc/task',
  headers: {
    authorization: 'bearer .....'
  },
  data: undefined,
  params: {
    fields: '',
    raw: '',
  }
};

const results = await axios.request(options);
Are we missing anything? Let us know
Was this page helpful?