Skip to Content

Jobs API

Schedule, assign, and track jobs through the Jobs API.

List Jobs

Retrieve all jobs for your organization.

curl https://api.lawnledgercrm.com/api/jobs \ -b cookies.txt

Response:

{ "data": [ { "id": "clx8n2k1p0003job", "customerId": "clx8n2k1p0001abcd", "propertyId": "prop_def456", "status": "scheduled", "scheduledDate": "2025-06-15", "assignedTo": ["user_001", "user_002"], "services": ["Weekly Mowing", "Edge Trimming"], "notes": "Gate code: 1234", "createdAt": "2025-06-10T08:00:00Z" } ] }

Query Parameters

ParameterTypeDescription
statusstringFilter: scheduled, in_progress, completed, canceled, on_hold
customerIdstringFilter by customer ID
assignedTostringFilter by assigned team member ID
startDatestringStart of the scheduled-date range. A date-only value (2026-06-15) means that whole calendar day. Also accepted as from.
endDatestringEnd of the range, inclusive: a date-only value runs through 23:59:59.999 of that day. Also accepted as to.
pagenumberPage number
limitnumberResults per page

Example: Get today’s jobs:

curl "https://api.lawnledgercrm.com/api/jobs?startDate=2025-06-15&endDate=2025-06-15&status=scheduled" \ -b cookies.txt

Get Job

Retrieve a single job by ID, including checklist items and activity history.

curl https://api.lawnledgercrm.com/api/jobs/clx8n2k1p0003job \ -b cookies.txt

Create Job

Create a new job.

curl -X POST https://api.lawnledgercrm.com/api/jobs \ -H "Content-Type: application/json" \ -b cookies.txt \ -d '{ "customerId": "clx8n2k1p0001abcd", "propertyId": "prop_def456", "scheduledDate": "2025-06-20", "services": ["Weekly Mowing", "Fertilizer Application"], "assignedTo": ["user_001"], "notes": "Apply fertilizer to front and back lawns", "checklist": [ "Mow front yard", "Mow back yard", "Apply fertilizer", "Clean up clippings" ] }'

Required Fields

FieldTypeDescription
customerIdstringCustomer ID
scheduledDatestringDate to perform the job

Optional Fields

FieldTypeDescription
propertyIdstringService property
servicesarrayList of service names
assignedToarrayTeam member IDs
notesstringInstructions for the crew
checklistarrayChecklist items (strings)

Update Job

Update an existing job.

curl -X PUT https://api.lawnledgercrm.com/api/jobs/clx8n2k1p0003job \ -H "Content-Type: application/json" \ -b cookies.txt \ -d '{ "status": "completed", "notes": "Completed all services. Customer not home." }'

Delete Job

Delete a job.

curl -X DELETE https://api.lawnledgercrm.com/api/jobs/clx8n2k1p0003job \ -b cookies.txt

Completed jobs are typically kept for historical records. Consider setting the status to canceled instead of deleting if you need to preserve the record.

Calendar View

The calendar endpoint returns jobs organized by date for calendar display. Both bounds are required, and the range may not exceed 92 days:

curl "https://api.lawnledgercrm.com/api/jobs/calendar?startDate=2025-06-01&endDate=2025-06-30" \ -b cookies.txt
Last updated on