curl --request PUT \
--url https://production-api.joinrings.com/v1/tasks/{task_id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"clear_due_date": false,
"clear_reminder": false,
"content": {},
"due_date": "<string>",
"is_autosave": false,
"reminder_value": 123,
"title": "<string>"
}
'import requests
url = "https://production-api.joinrings.com/v1/tasks/{task_id}"
payload = {
"clear_due_date": False,
"clear_reminder": False,
"content": {},
"due_date": "<string>",
"is_autosave": False,
"reminder_value": 123,
"title": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
clear_due_date: false,
clear_reminder: false,
content: {},
due_date: '<string>',
is_autosave: false,
reminder_value: 123,
title: '<string>'
})
};
fetch('https://production-api.joinrings.com/v1/tasks/{task_id}', 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://production-api.joinrings.com/v1/tasks/{task_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'clear_due_date' => false,
'clear_reminder' => false,
'content' => [
],
'due_date' => '<string>',
'is_autosave' => false,
'reminder_value' => 123,
'title' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <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://production-api.joinrings.com/v1/tasks/{task_id}"
payload := strings.NewReader("{\n \"clear_due_date\": false,\n \"clear_reminder\": false,\n \"content\": {},\n \"due_date\": \"<string>\",\n \"is_autosave\": false,\n \"reminder_value\": 123,\n \"title\": \"<string>\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("x-api-key", "<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.put("https://production-api.joinrings.com/v1/tasks/{task_id}")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"clear_due_date\": false,\n \"clear_reminder\": false,\n \"content\": {},\n \"due_date\": \"<string>\",\n \"is_autosave\": false,\n \"reminder_value\": 123,\n \"title\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://production-api.joinrings.com/v1/tasks/{task_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"clear_due_date\": false,\n \"clear_reminder\": false,\n \"content\": {},\n \"due_date\": \"<string>\",\n \"is_autosave\": false,\n \"reminder_value\": 123,\n \"title\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}Update a task
Omitted fields are left unchanged on the existing record. To mark a task as done, set status=“COMPLETED”. To remove a due date, pass clear_due_date=true instead of setting due_date to null. To remove a reminder, pass clear_reminder=true.
Enum values (case-sensitive, uppercase):
- status: DRAFT | ACTIVE | COMPLETED | ARCHIVED
- priority: LOW | MEDIUM | HIGH
- visibility: RING | PERSONAL
- reminder_type: MINUTES | HOURS | DAYS | WEEKS
curl --request PUT \
--url https://production-api.joinrings.com/v1/tasks/{task_id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"clear_due_date": false,
"clear_reminder": false,
"content": {},
"due_date": "<string>",
"is_autosave": false,
"reminder_value": 123,
"title": "<string>"
}
'import requests
url = "https://production-api.joinrings.com/v1/tasks/{task_id}"
payload = {
"clear_due_date": False,
"clear_reminder": False,
"content": {},
"due_date": "<string>",
"is_autosave": False,
"reminder_value": 123,
"title": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
clear_due_date: false,
clear_reminder: false,
content: {},
due_date: '<string>',
is_autosave: false,
reminder_value: 123,
title: '<string>'
})
};
fetch('https://production-api.joinrings.com/v1/tasks/{task_id}', 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://production-api.joinrings.com/v1/tasks/{task_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'clear_due_date' => false,
'clear_reminder' => false,
'content' => [
],
'due_date' => '<string>',
'is_autosave' => false,
'reminder_value' => 123,
'title' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <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://production-api.joinrings.com/v1/tasks/{task_id}"
payload := strings.NewReader("{\n \"clear_due_date\": false,\n \"clear_reminder\": false,\n \"content\": {},\n \"due_date\": \"<string>\",\n \"is_autosave\": false,\n \"reminder_value\": 123,\n \"title\": \"<string>\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("x-api-key", "<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.put("https://production-api.joinrings.com/v1/tasks/{task_id}")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"clear_due_date\": false,\n \"clear_reminder\": false,\n \"content\": {},\n \"due_date\": \"<string>\",\n \"is_autosave\": false,\n \"reminder_value\": 123,\n \"title\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://production-api.joinrings.com/v1/tasks/{task_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"clear_due_date\": false,\n \"clear_reminder\": false,\n \"content\": {},\n \"due_date\": \"<string>\",\n \"is_autosave\": false,\n \"reminder_value\": 123,\n \"title\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}Authorizations
Path Parameters
Body
Set to true to remove the due date entirely.
Set to true to remove the reminder entirely.
ISO 8601 date string, e.g. '2025-12-31'. Use clear_due_date=true to remove it.
Task priority. Must be one of: LOW, MEDIUM, HIGH. Omit to leave unset.
LOW, MEDIUM, HIGH Unit for the reminder interval. Must be one of: MINUTES, HOURS, DAYS, WEEKS. Requires reminder_value to be set together.
MINUTES, HOURS, DAYS, WEEKS Numeric amount for the reminder interval.
Task status. Must be one of: DRAFT (not yet started), ACTIVE (in progress), COMPLETED (done), ARCHIVED (soft-deleted from view). Defaults to ACTIVE when omitted on create.
DRAFT, ACTIVE, COMPLETED, ARCHIVED Visibility scope. RING = visible to all tenant members; PERSONAL = visible only to the creator. Defaults to RING.
RING, PERSONAL