Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Api / Tasks

Method Description
🔹 assign() Assign to user
🔹 create() Create task
🔹 delete() Delete task
🔹 discoveryCreate() Create discovery
🔹 discoveryDelete() Delete discovery
🔹 discoveryUpdate() Update discovery
🔹 feedbackCreate() Create feedback
🔹 feedbackDelete() Delete feedback
🔹 feedbackReply() Reply to feedback
🔹 feedbackUpdate() Update feedback
🔹 list() List tasks
🔹 listCandidates() List candidates
🔹 read() Fetch task
🔹 update() Update task

📚 Tasks API Reference

Getting started

// Place your API Key 👇 here
$sdk = new \Kronup\Sdk();

// API Call
$sdk->api()->tasks();

assign()

Assign task to user

#️⃣ Execute example in terminal

php -f assign.php

Request

PUT /teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/users/{userId}

Type signature

(new \Kronup\Sdk())->api()->tasks()->assign(
    string $team_id,
    string $channel_id,
    string $feature_id,
    string $task_id,
    string $user_id
): \Kronup\Model\Task

Parameters

Name Type Description
$team_id string Team ID
$channel_id string Channel ID
$feature_id string Feature ID
$task_id string Task ID
$user_id string User ID

Return type

\Kronup\Model\Task

🔺 Back to top


create()

Add a task to feature

#️⃣ Execute example in terminal

php -f create.php

Request

POST /teams/{teamId}/channels/{channelId}/features/{featureId}/tasks

Type signature

(new \Kronup\Sdk())->api()->tasks()->create(
    string $team_id,
    string $channel_id,
    string $feature_id,
    \Kronup\Model\PayloadTaskCreate $payload_task_create
): \Kronup\Model\TaskExpanded

Parameters

Name Type Description
$team_id string Team ID
$channel_id string Channel ID
$feature_id string Feature ID
$payload_task_create \Kronup\Model\PayloadTaskCreate  

Return type

\Kronup\Model\TaskExpanded

🔺 Back to top


delete()

Delete a task from a feature

#️⃣ Execute example in terminal

php -f delete.php

Request

DELETE /teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}

Type signature

(new \Kronup\Sdk())->api()->tasks()->delete(
    string $team_id,
    string $channel_id,
    string $feature_id,
    string $task_id
): bool

Parameters

Name Type Description
$team_id string Team ID
$channel_id string Channel ID
$feature_id string Feature ID
$task_id string Task ID

Return type

bool

🔺 Back to top


discoveryCreate()

Add a discovery to task

#️⃣ Execute example in terminal

php -f discoveryCreate.php

Request

POST /teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/discoveries

Type signature

(new \Kronup\Sdk())->api()->tasks()->discoveryCreate(
    string $team_id,
    string $channel_id,
    string $feature_id,
    string $task_id,
    \Kronup\Model\PayloadTaskDiscoveryCreate $payload_task_discovery_create
): \Kronup\Model\MinuteDiscovery

Parameters

Name Type Description
$team_id string Team ID
$channel_id string Channel ID
$feature_id string Feature ID
$task_id string Task ID
$payload_task_discovery_create \Kronup\Model\PayloadTaskDiscoveryCreate  

Return type

\Kronup\Model\MinuteDiscovery

🔺 Back to top


discoveryDelete()

Delete a task discovery

#️⃣ Execute example in terminal

php -f discoveryDelete.php

Request

DELETE /teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/discoveries/{discoveryId}

Type signature

(new \Kronup\Sdk())->api()->tasks()->discoveryDelete(
    string $team_id,
    string $channel_id,
    string $feature_id,
    string $task_id,
    string $discovery_id
): bool

Parameters

Name Type Description
$team_id string Team ID
$channel_id string Channel ID
$feature_id string Feature ID
$task_id string Task ID
$discovery_id string Discovery ID

Return type

bool

🔺 Back to top


discoveryUpdate()

Update a task discovery

#️⃣ Execute example in terminal

php -f discoveryUpdate.php

Request

POST /teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/discoveries/{discoveryId}

Type signature

(new \Kronup\Sdk())->api()->tasks()->discoveryUpdate(
    string $team_id,
    string $channel_id,
    string $feature_id,
    string $task_id,
    string $discovery_id,
    \Kronup\Model\PayloadTaskDiscoveryUpdate $payload_task_discovery_update
): \Kronup\Model\MinuteDiscovery

Parameters

Name Type Description
$team_id string Team ID
$channel_id string Channel ID
$feature_id string Feature ID
$task_id string Task ID
$discovery_id string Discovery ID
$payload_task_discovery_update \Kronup\Model\PayloadTaskDiscoveryUpdate  

Return type

\Kronup\Model\MinuteDiscovery

🔺 Back to top


feedbackCreate()

Add a feedback to task

#️⃣ Execute example in terminal

php -f feedbackCreate.php

Request

POST /teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/feedback

Type signature

(new \Kronup\Sdk())->api()->tasks()->feedbackCreate(
    string $team_id,
    string $channel_id,
    string $feature_id,
    string $task_id,
    \Kronup\Model\PayloadTaskFeedbackCreate $payload_task_feedback_create
): \Kronup\Model\MinuteFeedback

Parameters

Name Type Description
$team_id string Team ID
$channel_id string Channel ID
$feature_id string Feature ID
$task_id string Task ID
$payload_task_feedback_create \Kronup\Model\PayloadTaskFeedbackCreate  

Return type

\Kronup\Model\MinuteFeedback

🔺 Back to top


feedbackDelete()

Delete a feedback for a task

#️⃣ Execute example in terminal

php -f feedbackDelete.php

Request

DELETE /teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/feedback/{feedbackId}

Type signature

(new \Kronup\Sdk())->api()->tasks()->feedbackDelete(
    string $team_id,
    string $channel_id,
    string $feature_id,
    string $task_id,
    string $feedback_id
): bool

Parameters

Name Type Description
$team_id string Team ID
$channel_id string Channel ID
$feature_id string Feature ID
$task_id string Task ID
$feedback_id string Feedback ID

Return type

bool

🔺 Back to top


feedbackReply()

Update a reply to a task feedback

#️⃣ Execute example in terminal

php -f feedbackReply.php

Request

POST /teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/feedback/{feedbackId}/reply

Type signature

(new \Kronup\Sdk())->api()->tasks()->feedbackReply(
    string $team_id,
    string $channel_id,
    string $feature_id,
    string $task_id,
    string $feedback_id,
    \Kronup\Model\PayloadTaskFeedbackReply $payload_task_feedback_reply
): \Kronup\Model\MinuteFeedback

Parameters

Name Type Description
$team_id string Team ID
$channel_id string Channel ID
$feature_id string Feature ID
$task_id string Task ID
$feedback_id string Feedback ID
$payload_task_feedback_reply \Kronup\Model\PayloadTaskFeedbackReply  

Return type

\Kronup\Model\MinuteFeedback

🔺 Back to top


feedbackUpdate()

Update a task feedback

#️⃣ Execute example in terminal

php -f feedbackUpdate.php

Request

POST /teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/feedback/{feedbackId}

Type signature

(new \Kronup\Sdk())->api()->tasks()->feedbackUpdate(
    string $team_id,
    string $channel_id,
    string $feature_id,
    string $task_id,
    string $feedback_id,
    \Kronup\Model\PayloadTaskFeedbackUpdate $payload_task_feedback_update
): \Kronup\Model\MinuteFeedback

Parameters

Name Type Description
$team_id string Team ID
$channel_id string Channel ID
$feature_id string Feature ID
$task_id string Task ID
$feedback_id string Feedback ID
$payload_task_feedback_update \Kronup\Model\PayloadTaskFeedbackUpdate  

Return type

\Kronup\Model\MinuteFeedback

🔺 Back to top


list()

Get a list of task models

#️⃣ Execute example in terminal

php -f list.php

Request

GET /teams/{teamId}/channels/{channelId}/features/{featureId}/tasks

Type signature

(new \Kronup\Sdk())->api()->tasks()->list(
    string $team_id,
    string $channel_id,
    string $feature_id,
    [ int $page_number = 1, ]
    [ int $page_size = 500 ]
): \Kronup\Model\TasksList

Parameters

Name Type Description
$team_id string Team ID
$channel_id string Channel ID
$feature_id string Feature ID
$page_number int [default to 1]
$page_size int [default to 500]

Return type

\Kronup\Model\TasksList

🔺 Back to top


listCandidates()

List potential assignees for this task

#️⃣ Execute example in terminal

php -f listCandidates.php

Request

GET /teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/candidates

Type signature

(new \Kronup\Sdk())->api()->tasks()->listCandidates(
    string $team_id,
    string $channel_id,
    string $feature_id,
    string $task_id
): \Kronup\Model\TaskCandidatesList

Parameters

Name Type Description
$team_id string Team ID
$channel_id string Channel ID
$feature_id string Feature ID
$task_id string Task ID

Return type

\Kronup\Model\TaskCandidatesList

🔺 Back to top


read()

Retrieve task model

#️⃣ Execute example in terminal

php -f read.php

Request

GET /teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}

Type signature

(new \Kronup\Sdk())->api()->tasks()->read(
    string $team_id,
    string $channel_id,
    string $feature_id,
    string $task_id
): \Kronup\Model\TaskExpanded

Parameters

Name Type Description
$team_id string Team ID
$channel_id string Channel ID
$feature_id string Feature ID
$task_id string Task ID

Return type

\Kronup\Model\TaskExpanded

🔺 Back to top


update()

Update task details

#️⃣ Execute example in terminal

php -f update.php

Request

POST /teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}

Type signature

(new \Kronup\Sdk())->api()->tasks()->update(
    string $team_id,
    string $channel_id,
    string $feature_id,
    string $task_id,
    \Kronup\Model\PayloadTaskUpdate $payload_task_update
): \Kronup\Model\Task

Parameters

Name Type Description
$team_id string Team ID
$channel_id string Channel ID
$feature_id string Feature ID
$task_id string Task ID
$payload_task_update \Kronup\Model\PayloadTaskUpdate  

Return type

\Kronup\Model\Task

🔺 Back to top