CRM

Create Task Top Level Route

Convenience: create a task with the conversation id in the body instead of the URL. Same auth + validation as the nested POST /api/crm/conversations/{id}/tasks route.

post/api/crm/tasks

Request

  • Base URL: https://api.kolens.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.kolens.ai/api/crm/tasks
  • Auth: HTTP bearer

Headers

x-kolens-user-idstring nullable
x-kolens-workspace-idstring nullable

Request body

titlestring required
due_atstring date-time nullable
assignee_user_idstring nullable
recurring_rule_textstring nullable
action_kind'reminder' | 'send_template' | 'next_action_recompute'
action_payloadobject nullable
next_run_atstring date-time nullable
conversation_idstring required

Response

Successful Response

idstring required
conversation_idstring required
titlestring required
due_atstring date-time nullable
completed_atstring date-time nullable
assignee_user_idstring nullable
recurring_rule_textstring nullable
created_atstring date-time required
status'pending' | 'done' | 'cancelled' | 'failed'
next_run_atstring date-time nullable
action_kind'reminder' | 'send_template' | 'next_action_recompute'
action_payloadobject nullable
attempt_countinteger
error_messagestring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.