Create a task template
curl --request POST \
--url https://www.ruddr.io/api/workspace/task-templates \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"taskCategoryId": "<string>",
"budgetHours": 123,
"notes": "<string>",
"isBillable": true,
"tagIds": [
"<string>"
]
}
'import requests
url = "https://www.ruddr.io/api/workspace/task-templates"
payload = {
"name": "<string>",
"taskCategoryId": "<string>",
"budgetHours": 123,
"notes": "<string>",
"isBillable": True,
"tagIds": ["<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({
name: '<string>',
taskCategoryId: '<string>',
budgetHours: 123,
notes: '<string>',
isBillable: true,
tagIds: ['<string>']
})
};
fetch('https://www.ruddr.io/api/workspace/task-templates', 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://www.ruddr.io/api/workspace/task-templates",
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([
'name' => '<string>',
'taskCategoryId' => '<string>',
'budgetHours' => 123,
'notes' => '<string>',
'isBillable' => true,
'tagIds' => [
'<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://www.ruddr.io/api/workspace/task-templates"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"taskCategoryId\": \"<string>\",\n \"budgetHours\": 123,\n \"notes\": \"<string>\",\n \"isBillable\": true,\n \"tagIds\": [\n \"<string>\"\n ]\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://www.ruddr.io/api/workspace/task-templates")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"taskCategoryId\": \"<string>\",\n \"budgetHours\": 123,\n \"notes\": \"<string>\",\n \"isBillable\": true,\n \"tagIds\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.ruddr.io/api/workspace/task-templates")
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 \"name\": \"<string>\",\n \"taskCategoryId\": \"<string>\",\n \"budgetHours\": 123,\n \"notes\": \"<string>\",\n \"isBillable\": true,\n \"tagIds\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "3f8a2d1e-bc47-4e92-a5f6-d91c7e084b23",
"name": "Consulting Meetings",
"budgetHours": 40,
"notes": "Standard consulting engagement setup tasks",
"isBillable": true,
"createdAt": "2025-11-20T16:09:46.218Z",
"tags": [
{
"id": "791c3dc6-9f13-46d5-b9f2-3368fb70624e",
"name": "Set-up"
}
],
"taskCategory": {
"id": "c7e2f4a1-9b38-4d65-8c17-3a5f1e2d4b96",
"name": "Standard Task",
"type": "standard"
}
}Task Templates
Create a task template
POST
/
task-templates
Create a task template
curl --request POST \
--url https://www.ruddr.io/api/workspace/task-templates \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"taskCategoryId": "<string>",
"budgetHours": 123,
"notes": "<string>",
"isBillable": true,
"tagIds": [
"<string>"
]
}
'import requests
url = "https://www.ruddr.io/api/workspace/task-templates"
payload = {
"name": "<string>",
"taskCategoryId": "<string>",
"budgetHours": 123,
"notes": "<string>",
"isBillable": True,
"tagIds": ["<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({
name: '<string>',
taskCategoryId: '<string>',
budgetHours: 123,
notes: '<string>',
isBillable: true,
tagIds: ['<string>']
})
};
fetch('https://www.ruddr.io/api/workspace/task-templates', 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://www.ruddr.io/api/workspace/task-templates",
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([
'name' => '<string>',
'taskCategoryId' => '<string>',
'budgetHours' => 123,
'notes' => '<string>',
'isBillable' => true,
'tagIds' => [
'<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://www.ruddr.io/api/workspace/task-templates"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"taskCategoryId\": \"<string>\",\n \"budgetHours\": 123,\n \"notes\": \"<string>\",\n \"isBillable\": true,\n \"tagIds\": [\n \"<string>\"\n ]\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://www.ruddr.io/api/workspace/task-templates")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"taskCategoryId\": \"<string>\",\n \"budgetHours\": 123,\n \"notes\": \"<string>\",\n \"isBillable\": true,\n \"tagIds\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.ruddr.io/api/workspace/task-templates")
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 \"name\": \"<string>\",\n \"taskCategoryId\": \"<string>\",\n \"budgetHours\": 123,\n \"notes\": \"<string>\",\n \"isBillable\": true,\n \"tagIds\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "3f8a2d1e-bc47-4e92-a5f6-d91c7e084b23",
"name": "Consulting Meetings",
"budgetHours": 40,
"notes": "Standard consulting engagement setup tasks",
"isBillable": true,
"createdAt": "2025-11-20T16:09:46.218Z",
"tags": [
{
"id": "791c3dc6-9f13-46d5-b9f2-3368fb70624e",
"name": "Set-up"
}
],
"taskCategory": {
"id": "c7e2f4a1-9b38-4d65-8c17-3a5f1e2d4b96",
"name": "Standard Task",
"type": "standard"
}
}A reusable task definition that can be quickly added to projects.
Authorizations
Body
application/json
Response
200