Get territory by id
GET {{baseUrl}}/territories/{{territoryId}}
Returns the full Territory row by id (no field filtering — unlike “Get my territory”, which only returns a driver-relevant subset). Source: models/territories.ts findById(). This is a large object (60+ fields covering dispatch/engine/billing config); the example below shows only the fields relevant to a driver.
Response fields (selected): id, name, timezone, country, est_delivery_mins, runner_max_orders, runner_check_in_time, plus the same runner_* UI toggles documented on “Get my territory”.
Examples
Section titled “Examples”curl --request GET 'https://api.firstdelivery.com/api/territories/REPLACE_WITH_TERRITORY_ID'const response = await fetch("https://api.firstdelivery.com/api/territories/REPLACE_WITH_TERRITORY_ID", { "method": "GET", "headers": {}})const data = await response.json()import requests
response = requests.request( "GET", "https://api.firstdelivery.com/api/territories/REPLACE_WITH_TERRITORY_ID", headers={},)response.raise_for_status()Saved responses
Section titled “Saved responses”{ "id": "b2b1c1a0-1111-4a2b-9c3d-4e5f6a7b8c9d", "name": "Downtown Territory", "active": true, "timezone": "America/New_York", "country": "US", "operator_id": 42, "est_delivery_mins": 30, "runner_max_orders": 3, "runner_check_in_time": 10, "runner_show_active_toggle": true, "runner_show_decline_button": true, "runner_show_payment": true, "runner_show_phone": true, "runner_hide_timestamps": false, "runner_full_timestamps": false, "runner_force_onsite_checkin": false}
