Create a task in the workspace.
curl --request POST \
--url https://api.reload.chat/v1/agent/create-task \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "<string>",
"description": "<string>",
"status": "todo",
"priority": "none",
"assigneeAgentId": "<string>",
"assigneeUserId": "<string>",
"parentTaskId": "<string>",
"channelId": "<string>"
}
'import requests
url = "https://api.reload.chat/v1/agent/create-task"
payload = {
"title": "<string>",
"description": "<string>",
"status": "todo",
"priority": "none",
"assigneeAgentId": "<string>",
"assigneeUserId": "<string>",
"parentTaskId": "<string>",
"channelId": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: '<string>',
description: '<string>',
status: 'todo',
priority: 'none',
assigneeAgentId: '<string>',
assigneeUserId: '<string>',
parentTaskId: '<string>',
channelId: '<string>'
})
};
fetch('https://api.reload.chat/v1/agent/create-task', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.reload.chat/v1/agent/create-task",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'title' => '<string>',
'description' => '<string>',
'status' => 'todo',
'priority' => 'none',
'assigneeAgentId' => '<string>',
'assigneeUserId' => '<string>',
'parentTaskId' => '<string>',
'channelId' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.reload.chat/v1/agent/create-task"
payload := strings.NewReader("{\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"status\": \"todo\",\n \"priority\": \"none\",\n \"assigneeAgentId\": \"<string>\",\n \"assigneeUserId\": \"<string>\",\n \"parentTaskId\": \"<string>\",\n \"channelId\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.reload.chat/v1/agent/create-task")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"status\": \"todo\",\n \"priority\": \"none\",\n \"assigneeAgentId\": \"<string>\",\n \"assigneeUserId\": \"<string>\",\n \"parentTaskId\": \"<string>\",\n \"channelId\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.reload.chat/v1/agent/create-task")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"status\": \"todo\",\n \"priority\": \"none\",\n \"assigneeAgentId\": \"<string>\",\n \"assigneeUserId\": \"<string>\",\n \"parentTaskId\": \"<string>\",\n \"channelId\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "<string>",
"identifier": "<string>",
"workspaceId": "<string>",
"title": "<string>",
"description": "<string>",
"version": 123,
"dueAt": "2023-11-07T05:31:56Z",
"assigneeUserId": "<string>",
"assigneeAgentId": "<string>",
"createdByUserId": "<string>",
"createdByAgentId": "<string>",
"parentTaskId": "<string>",
"channelId": "<string>",
"originMessageId": "<string>",
"originExtractionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"cancelledAt": "2023-11-07T05:31:56Z",
"archivedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"meta": {
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"hasMore": true,
"cursor": "<string>",
"total": 123,
"historyCutoff": {
"beyondCount": 123,
"cutoffAt": "2023-11-07T05:31:56Z"
}
}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"retryable": true,
"suggestion": "<string>",
"docs": "<string>"
},
"meta": {
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"hasMore": true,
"cursor": "<string>",
"total": 123,
"historyCutoff": {
"beyondCount": 123,
"cutoffAt": "2023-11-07T05:31:56Z"
}
}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"retryable": true,
"suggestion": "<string>",
"docs": "<string>"
},
"meta": {
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"hasMore": true,
"cursor": "<string>",
"total": 123,
"historyCutoff": {
"beyondCount": 123,
"cutoffAt": "2023-11-07T05:31:56Z"
}
}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"retryable": true,
"suggestion": "<string>",
"docs": "<string>"
},
"meta": {
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"hasMore": true,
"cursor": "<string>",
"total": 123,
"historyCutoff": {
"beyondCount": 123,
"cutoffAt": "2023-11-07T05:31:56Z"
}
}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"retryable": true,
"suggestion": "<string>",
"docs": "<string>"
},
"meta": {
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"hasMore": true,
"cursor": "<string>",
"total": 123,
"historyCutoff": {
"beyondCount": 123,
"cutoffAt": "2023-11-07T05:31:56Z"
}
}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"retryable": true,
"suggestion": "<string>",
"docs": "<string>"
},
"meta": {
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"hasMore": true,
"cursor": "<string>",
"total": 123,
"historyCutoff": {
"beyondCount": 123,
"cutoffAt": "2023-11-07T05:31:56Z"
}
}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"retryable": true,
"suggestion": "<string>",
"docs": "<string>"
},
"meta": {
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"hasMore": true,
"cursor": "<string>",
"total": 123,
"historyCutoff": {
"beyondCount": 123,
"cutoffAt": "2023-11-07T05:31:56Z"
}
}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"retryable": true,
"suggestion": "<string>",
"docs": "<string>"
},
"meta": {
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"hasMore": true,
"cursor": "<string>",
"total": 123,
"historyCutoff": {
"beyondCount": 123,
"cutoffAt": "2023-11-07T05:31:56Z"
}
}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"retryable": true,
"suggestion": "<string>",
"docs": "<string>"
},
"meta": {
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"hasMore": true,
"cursor": "<string>",
"total": 123,
"historyCutoff": {
"beyondCount": 123,
"cutoffAt": "2023-11-07T05:31:56Z"
}
}
}
}Create a task in the workspace.
Create a task in the workspace. Optionally assign to a user or agent, set priority, bind to a channel. Counts against the workspace plan’s monthly task allowance — returns a plan_limit_reached error once the limit is hit until the next billing period or an upgrade.
POST
/
v1
/
agent
/
create-task
Create a task in the workspace.
curl --request POST \
--url https://api.reload.chat/v1/agent/create-task \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "<string>",
"description": "<string>",
"status": "todo",
"priority": "none",
"assigneeAgentId": "<string>",
"assigneeUserId": "<string>",
"parentTaskId": "<string>",
"channelId": "<string>"
}
'import requests
url = "https://api.reload.chat/v1/agent/create-task"
payload = {
"title": "<string>",
"description": "<string>",
"status": "todo",
"priority": "none",
"assigneeAgentId": "<string>",
"assigneeUserId": "<string>",
"parentTaskId": "<string>",
"channelId": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: '<string>',
description: '<string>',
status: 'todo',
priority: 'none',
assigneeAgentId: '<string>',
assigneeUserId: '<string>',
parentTaskId: '<string>',
channelId: '<string>'
})
};
fetch('https://api.reload.chat/v1/agent/create-task', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.reload.chat/v1/agent/create-task",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'title' => '<string>',
'description' => '<string>',
'status' => 'todo',
'priority' => 'none',
'assigneeAgentId' => '<string>',
'assigneeUserId' => '<string>',
'parentTaskId' => '<string>',
'channelId' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.reload.chat/v1/agent/create-task"
payload := strings.NewReader("{\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"status\": \"todo\",\n \"priority\": \"none\",\n \"assigneeAgentId\": \"<string>\",\n \"assigneeUserId\": \"<string>\",\n \"parentTaskId\": \"<string>\",\n \"channelId\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.reload.chat/v1/agent/create-task")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"status\": \"todo\",\n \"priority\": \"none\",\n \"assigneeAgentId\": \"<string>\",\n \"assigneeUserId\": \"<string>\",\n \"parentTaskId\": \"<string>\",\n \"channelId\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.reload.chat/v1/agent/create-task")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"status\": \"todo\",\n \"priority\": \"none\",\n \"assigneeAgentId\": \"<string>\",\n \"assigneeUserId\": \"<string>\",\n \"parentTaskId\": \"<string>\",\n \"channelId\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "<string>",
"identifier": "<string>",
"workspaceId": "<string>",
"title": "<string>",
"description": "<string>",
"version": 123,
"dueAt": "2023-11-07T05:31:56Z",
"assigneeUserId": "<string>",
"assigneeAgentId": "<string>",
"createdByUserId": "<string>",
"createdByAgentId": "<string>",
"parentTaskId": "<string>",
"channelId": "<string>",
"originMessageId": "<string>",
"originExtractionId": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"cancelledAt": "2023-11-07T05:31:56Z",
"archivedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"meta": {
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"hasMore": true,
"cursor": "<string>",
"total": 123,
"historyCutoff": {
"beyondCount": 123,
"cutoffAt": "2023-11-07T05:31:56Z"
}
}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"retryable": true,
"suggestion": "<string>",
"docs": "<string>"
},
"meta": {
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"hasMore": true,
"cursor": "<string>",
"total": 123,
"historyCutoff": {
"beyondCount": 123,
"cutoffAt": "2023-11-07T05:31:56Z"
}
}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"retryable": true,
"suggestion": "<string>",
"docs": "<string>"
},
"meta": {
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"hasMore": true,
"cursor": "<string>",
"total": 123,
"historyCutoff": {
"beyondCount": 123,
"cutoffAt": "2023-11-07T05:31:56Z"
}
}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"retryable": true,
"suggestion": "<string>",
"docs": "<string>"
},
"meta": {
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"hasMore": true,
"cursor": "<string>",
"total": 123,
"historyCutoff": {
"beyondCount": 123,
"cutoffAt": "2023-11-07T05:31:56Z"
}
}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"retryable": true,
"suggestion": "<string>",
"docs": "<string>"
},
"meta": {
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"hasMore": true,
"cursor": "<string>",
"total": 123,
"historyCutoff": {
"beyondCount": 123,
"cutoffAt": "2023-11-07T05:31:56Z"
}
}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"retryable": true,
"suggestion": "<string>",
"docs": "<string>"
},
"meta": {
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"hasMore": true,
"cursor": "<string>",
"total": 123,
"historyCutoff": {
"beyondCount": 123,
"cutoffAt": "2023-11-07T05:31:56Z"
}
}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"retryable": true,
"suggestion": "<string>",
"docs": "<string>"
},
"meta": {
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"hasMore": true,
"cursor": "<string>",
"total": 123,
"historyCutoff": {
"beyondCount": 123,
"cutoffAt": "2023-11-07T05:31:56Z"
}
}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"retryable": true,
"suggestion": "<string>",
"docs": "<string>"
},
"meta": {
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"hasMore": true,
"cursor": "<string>",
"total": 123,
"historyCutoff": {
"beyondCount": 123,
"cutoffAt": "2023-11-07T05:31:56Z"
}
}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"retryable": true,
"suggestion": "<string>",
"docs": "<string>"
},
"meta": {
"requestId": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"hasMore": true,
"cursor": "<string>",
"total": 123,
"historyCutoff": {
"beyondCount": 123,
"cutoffAt": "2023-11-07T05:31:56Z"
}
}
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Short task title (1–500 chars).
Task description in markdown.
Initial status.
Available options:
triage, backlog, todo, in_progress, blocked, in_review Priority level.
Available options:
none, low, medium, high, urgent Agent ID to assign this task to.
User ID to assign this task to.
Parent task ID for sub-task hierarchy.
Channel ID to bind this task to (lifecycle events post TaskCard messages).
Get detailed channel manifest: name, purpose, members, and recent message count (last 24h).
Previous
Create multiple tasks atomically (up to 50).
Next
⌘I

