Update a job
curl --request PATCH \
--url https://api.hellotracks.com/v1/jobs/{id} \
--header 'API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "Replace water heater",
"timeWindow": {
"start": "13:00",
"end": "15:00"
}
}
'import requests
url = "https://api.hellotracks.com/v1/jobs/{id}"
payload = {
"title": "Replace water heater",
"timeWindow": {
"start": "13:00",
"end": "15:00"
}
}
headers = {
"API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({title: 'Replace water heater', timeWindow: {start: '13:00', end: '15:00'}})
};
fetch('https://api.hellotracks.com/v1/jobs/{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://api.hellotracks.com/v1/jobs/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'title' => 'Replace water heater',
'timeWindow' => [
'start' => '13:00',
'end' => '15:00'
]
]),
CURLOPT_HTTPHEADER => [
"API-Key: <api-key>",
"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.hellotracks.com/v1/jobs/{id}"
payload := strings.NewReader("{\n \"title\": \"Replace water heater\",\n \"timeWindow\": {\n \"start\": \"13:00\",\n \"end\": \"15:00\"\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("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.patch("https://api.hellotracks.com/v1/jobs/{id}")
.header("API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"Replace water heater\",\n \"timeWindow\": {\n \"start\": \"13:00\",\n \"end\": \"15:00\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hellotracks.com/v1/jobs/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"Replace water heater\",\n \"timeWindow\": {\n \"start\": \"13:00\",\n \"end\": \"15:00\"\n }\n}"
response = http.request(request)
puts response.read_body{
"data": {
"items": [
{
"id": "650000000000000000000001",
"externalId": "ORDER-1001",
"title": "Install water heater",
"address": "500 Market St, San Francisco, CA 94105",
"notes": "Ring at the side door.",
"issueText": "",
"createdAt": 1793520000000,
"updatedAt": 1793523600000,
"scheduledAt": 0,
"assignedAt": 1793520000000,
"acceptedAt": 0,
"completedAt": 0,
"failedAt": 0,
"progress": "scheduled",
"date": "2026-11-02",
"priority": 2,
"timeWindow": {
"start": "09:00",
"end": "12:00"
},
"onSiteDurationSeconds": 3600,
"location": {
"lat": 37.7897,
"lng": -122.4
},
"assignee": {
"id": "a1b2c3",
"username": "alex@example.com",
"name": "Alex Rivera",
"email": "alex@example.com",
"phone": "+14155550101"
},
"placeId": "p1q2r3",
"contact": {
"name": "Sam Lee",
"phone": "+14155550102",
"email": "sam@example.com"
},
"customFields": {
"PO": "4711"
},
"linkedForms": [
{
"id": "f1a2b3",
"title": "Install checklist"
}
],
"etaSessionId": "eta_k7m2p9x4q8r3",
"etaUrl": "https://eta.page/K7M2-P9X4-Q8R3"
}
]
},
"error": null,
"meta": {
"path": "/v1/jobs/{id}",
"method": "PATCH"
}
}{
"data": null,
"error": {
"code": "invalid_request",
"message": "date must be YYYY-MM-DD"
},
"meta": {
"path": "/jobs",
"method": "GET"
}
}{
"data": null,
"error": {
"code": "invalid_api_key",
"message": "Invalid Hellotracks API key."
},
"meta": {
"path": "/jobs",
"method": "GET"
}
}{
"data": null,
"error": {
"code": "forbidden",
"message": "No permission."
},
"meta": {
"path": "/jobs",
"method": "GET"
}
}{
"data": null,
"error": {
"code": "throttled",
"message": "Too many requests."
},
"meta": {
"path": "/jobs",
"method": "GET"
}
}{
"data": null,
"error": {
"code": "internal_error",
"message": "Hellotracks API is temporarily unavailable."
},
"meta": {
"path": "/jobs",
"method": "GET"
}
}Jobs
Update a job
Updates the job; only the fields sent change. Always notifies the assigned worker and sends route changes; a changed address (without a location) is re-geocoded in the background. An unknown id gives an empty items list. Workers may only change today’s jobs unless the company allows workersEditJob.
PATCH
/
jobs
/
{id}
Update a job
curl --request PATCH \
--url https://api.hellotracks.com/v1/jobs/{id} \
--header 'API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "Replace water heater",
"timeWindow": {
"start": "13:00",
"end": "15:00"
}
}
'import requests
url = "https://api.hellotracks.com/v1/jobs/{id}"
payload = {
"title": "Replace water heater",
"timeWindow": {
"start": "13:00",
"end": "15:00"
}
}
headers = {
"API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({title: 'Replace water heater', timeWindow: {start: '13:00', end: '15:00'}})
};
fetch('https://api.hellotracks.com/v1/jobs/{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://api.hellotracks.com/v1/jobs/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'title' => 'Replace water heater',
'timeWindow' => [
'start' => '13:00',
'end' => '15:00'
]
]),
CURLOPT_HTTPHEADER => [
"API-Key: <api-key>",
"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.hellotracks.com/v1/jobs/{id}"
payload := strings.NewReader("{\n \"title\": \"Replace water heater\",\n \"timeWindow\": {\n \"start\": \"13:00\",\n \"end\": \"15:00\"\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("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.patch("https://api.hellotracks.com/v1/jobs/{id}")
.header("API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"Replace water heater\",\n \"timeWindow\": {\n \"start\": \"13:00\",\n \"end\": \"15:00\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hellotracks.com/v1/jobs/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"Replace water heater\",\n \"timeWindow\": {\n \"start\": \"13:00\",\n \"end\": \"15:00\"\n }\n}"
response = http.request(request)
puts response.read_body{
"data": {
"items": [
{
"id": "650000000000000000000001",
"externalId": "ORDER-1001",
"title": "Install water heater",
"address": "500 Market St, San Francisco, CA 94105",
"notes": "Ring at the side door.",
"issueText": "",
"createdAt": 1793520000000,
"updatedAt": 1793523600000,
"scheduledAt": 0,
"assignedAt": 1793520000000,
"acceptedAt": 0,
"completedAt": 0,
"failedAt": 0,
"progress": "scheduled",
"date": "2026-11-02",
"priority": 2,
"timeWindow": {
"start": "09:00",
"end": "12:00"
},
"onSiteDurationSeconds": 3600,
"location": {
"lat": 37.7897,
"lng": -122.4
},
"assignee": {
"id": "a1b2c3",
"username": "alex@example.com",
"name": "Alex Rivera",
"email": "alex@example.com",
"phone": "+14155550101"
},
"placeId": "p1q2r3",
"contact": {
"name": "Sam Lee",
"phone": "+14155550102",
"email": "sam@example.com"
},
"customFields": {
"PO": "4711"
},
"linkedForms": [
{
"id": "f1a2b3",
"title": "Install checklist"
}
],
"etaSessionId": "eta_k7m2p9x4q8r3",
"etaUrl": "https://eta.page/K7M2-P9X4-Q8R3"
}
]
},
"error": null,
"meta": {
"path": "/v1/jobs/{id}",
"method": "PATCH"
}
}{
"data": null,
"error": {
"code": "invalid_request",
"message": "date must be YYYY-MM-DD"
},
"meta": {
"path": "/jobs",
"method": "GET"
}
}{
"data": null,
"error": {
"code": "invalid_api_key",
"message": "Invalid Hellotracks API key."
},
"meta": {
"path": "/jobs",
"method": "GET"
}
}{
"data": null,
"error": {
"code": "forbidden",
"message": "No permission."
},
"meta": {
"path": "/jobs",
"method": "GET"
}
}{
"data": null,
"error": {
"code": "throttled",
"message": "Too many requests."
},
"meta": {
"path": "/jobs",
"method": "GET"
}
}{
"data": null,
"error": {
"code": "internal_error",
"message": "Hellotracks API is temporarily unavailable."
},
"meta": {
"path": "/jobs",
"method": "GET"
}
}Authorizations
Body
application/json
Job fields for create and update. Unknown fields are refused with 400. On update only the fields sent change.