Skip to main content
POST
Create CoworkerTask
A task is an operational to-do item for a customer, assigned to an admin user with optional due-date email reminders and visibility to the wider admin team.

Authentication

This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header. The authenticated user must be a full unrestricted administrator or have the CoworkerTask-Create role.

Request Body

Required Fields

integer
required
ID of the location that owns this task..
integer
required
ID of the customer this task concerns..
string
required
Required task title..
integer
required
ID of the admin user responsible for completing this task; required when creating a task..

Optional Fields

string
Optional instructions or context for completing the task..
string
Internal correlation GUID for the task-list item that created this task; managed by the originating workflow..
boolean
Whether the task is complete; completed tasks are excluded from reminder processing and each user’s active-task list..
string
Optional due date and time stored in UTC; an email reminder becomes eligible at or after this time when notifications are enabled..
boolean
Internal flag indicating that the due-date email reminder was queued; task updates reset it to false..
boolean
Whether to send the responsible admin an email reminder once the due date is reached; no reminder is sent without a due date..
boolean
Whether the task appears in every admin user’s active-task list instead of only the responsible admin’s list..

Code Examples

Response

200

integer
HTTP status code. 200 on success.
string
A human-readable message confirming the creation.
object
Contains the Id of the newly created record.
boolean
true if the coworkertask was created successfully.
array
null on success.
Example Response

400

string
A summary of the validation error(s), in the format PropertyName: error message.
any
null on validation failure.
object[]
Array of validation errors.
boolean
false when the request fails validation.
Example Response