curl --request POST \
--url https://core-api.getaptly.com/api/tasks/search \
--header 'Content-Type: application/json' \
--header 'x-token: <api-key>' \
--data '
{
"isChecked": false,
"archived": false,
"taskPriority": "high",
"dueAt": {
"startDate": "2026-06-01T00:00:00.000Z",
"endDate": "2026-06-30T00:00:00.000Z"
},
"limit": 100
}
'import requests
url = "https://core-api.getaptly.com/api/tasks/search"
payload = {
"isChecked": False,
"archived": False,
"taskPriority": "high",
"dueAt": {
"startDate": "2026-06-01T00:00:00.000Z",
"endDate": "2026-06-30T00:00:00.000Z"
},
"limit": 100
}
headers = {
"x-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
isChecked: false,
archived: false,
taskPriority: 'high',
dueAt: {startDate: '2026-06-01T00:00:00.000Z', endDate: '2026-06-30T00:00:00.000Z'},
limit: 100
})
};
fetch('https://core-api.getaptly.com/api/tasks/search', 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://core-api.getaptly.com/api/tasks/search",
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([
'isChecked' => false,
'archived' => false,
'taskPriority' => 'high',
'dueAt' => [
'startDate' => '2026-06-01T00:00:00.000Z',
'endDate' => '2026-06-30T00:00:00.000Z'
],
'limit' => 100
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-token: <api-key>"
],
]);
$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://core-api.getaptly.com/api/tasks/search"
payload := strings.NewReader("{\n \"isChecked\": false,\n \"archived\": false,\n \"taskPriority\": \"high\",\n \"dueAt\": {\n \"startDate\": \"2026-06-01T00:00:00.000Z\",\n \"endDate\": \"2026-06-30T00:00:00.000Z\"\n },\n \"limit\": 100\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-token", "<api-key>")
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://core-api.getaptly.com/api/tasks/search")
.header("x-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"isChecked\": false,\n \"archived\": false,\n \"taskPriority\": \"high\",\n \"dueAt\": {\n \"startDate\": \"2026-06-01T00:00:00.000Z\",\n \"endDate\": \"2026-06-30T00:00:00.000Z\"\n },\n \"limit\": 100\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://core-api.getaptly.com/api/tasks/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"isChecked\": false,\n \"archived\": false,\n \"taskPriority\": \"high\",\n \"dueAt\": {\n \"startDate\": \"2026-06-01T00:00:00.000Z\",\n \"endDate\": \"2026-06-30T00:00:00.000Z\"\n },\n \"limit\": 100\n}"
response = http.request(request)
puts response.read_body{
"tasks": [
{
"_id": "<string>",
"companyId": "<string>",
"title": "<string>",
"mergedTitle": "<string>",
"description": "<string>",
"mergedDescription": "<string>",
"userId": "<string>",
"checked": true,
"archived": true,
"status": "<string>",
"priority": "<string>",
"dueAt": "2023-11-07T05:31:56Z",
"aptletInstanceId": "<string>",
"aptletUuid": "<string>",
"attachments": [
{
"_id": "<string>",
"name": "<string>",
"type": "<string>"
}
],
"priorityLabel": "<string>",
"statusLabel": "<string>",
"assignee": {
"_id": "<string>",
"fullName": "<string>"
}
}
],
"count": 123
}{
"error": "<string>",
"message": "<string>"
}Search tasks
Query tasks for the authenticated company. All body fields are optional filters.
Date-range filters (dueAt, checkedAt, updatedAt) take an object of
{ startDate, endDate } — either bound may be supplied independently. Set
useCount: true to return { count } instead of { tasks }.
curl --request POST \
--url https://core-api.getaptly.com/api/tasks/search \
--header 'Content-Type: application/json' \
--header 'x-token: <api-key>' \
--data '
{
"isChecked": false,
"archived": false,
"taskPriority": "high",
"dueAt": {
"startDate": "2026-06-01T00:00:00.000Z",
"endDate": "2026-06-30T00:00:00.000Z"
},
"limit": 100
}
'import requests
url = "https://core-api.getaptly.com/api/tasks/search"
payload = {
"isChecked": False,
"archived": False,
"taskPriority": "high",
"dueAt": {
"startDate": "2026-06-01T00:00:00.000Z",
"endDate": "2026-06-30T00:00:00.000Z"
},
"limit": 100
}
headers = {
"x-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
isChecked: false,
archived: false,
taskPriority: 'high',
dueAt: {startDate: '2026-06-01T00:00:00.000Z', endDate: '2026-06-30T00:00:00.000Z'},
limit: 100
})
};
fetch('https://core-api.getaptly.com/api/tasks/search', 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://core-api.getaptly.com/api/tasks/search",
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([
'isChecked' => false,
'archived' => false,
'taskPriority' => 'high',
'dueAt' => [
'startDate' => '2026-06-01T00:00:00.000Z',
'endDate' => '2026-06-30T00:00:00.000Z'
],
'limit' => 100
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-token: <api-key>"
],
]);
$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://core-api.getaptly.com/api/tasks/search"
payload := strings.NewReader("{\n \"isChecked\": false,\n \"archived\": false,\n \"taskPriority\": \"high\",\n \"dueAt\": {\n \"startDate\": \"2026-06-01T00:00:00.000Z\",\n \"endDate\": \"2026-06-30T00:00:00.000Z\"\n },\n \"limit\": 100\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-token", "<api-key>")
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://core-api.getaptly.com/api/tasks/search")
.header("x-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"isChecked\": false,\n \"archived\": false,\n \"taskPriority\": \"high\",\n \"dueAt\": {\n \"startDate\": \"2026-06-01T00:00:00.000Z\",\n \"endDate\": \"2026-06-30T00:00:00.000Z\"\n },\n \"limit\": 100\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://core-api.getaptly.com/api/tasks/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"isChecked\": false,\n \"archived\": false,\n \"taskPriority\": \"high\",\n \"dueAt\": {\n \"startDate\": \"2026-06-01T00:00:00.000Z\",\n \"endDate\": \"2026-06-30T00:00:00.000Z\"\n },\n \"limit\": 100\n}"
response = http.request(request)
puts response.read_body{
"tasks": [
{
"_id": "<string>",
"companyId": "<string>",
"title": "<string>",
"mergedTitle": "<string>",
"description": "<string>",
"mergedDescription": "<string>",
"userId": "<string>",
"checked": true,
"archived": true,
"status": "<string>",
"priority": "<string>",
"dueAt": "2023-11-07T05:31:56Z",
"aptletInstanceId": "<string>",
"aptletUuid": "<string>",
"attachments": [
{
"_id": "<string>",
"name": "<string>",
"type": "<string>"
}
],
"priorityLabel": "<string>",
"statusLabel": "<string>",
"assignee": {
"_id": "<string>",
"fullName": "<string>"
}
}
],
"count": 123
}{
"error": "<string>",
"message": "<string>"
}Authorizations
Body
Restrict to tasks assigned to these user ids.
Filter by completion state.
One of asap|high|medium|low.
Board UUID.
Return a count instead of the task list.
Date-range filter. Either bound may be supplied independently — startDate maps to $gte, endDate to $lte.
Show child attributes
Show child attributes
Date-range filter. Either bound may be supplied independently — startDate maps to $gte, endDate to $lte.
Show child attributes
Show child attributes
Date-range filter. Either bound may be supplied independently — startDate maps to $gte, endDate to $lte.
Show child attributes
Show child attributes