List jobs
List jobs, optionally by status, customer or date.
GET https://cotlet.dev/api/v1/simpro/jobs
read
Returns jobs with number, customer, site, status and stage, newest first. Pages until the list ends. Stage and status are separate fields in Simpro, and the status filter uses your own status names.
Parameters
| Name | Type | Description |
|---|---|---|
| status string | string | A job status name from your build. |
| customer_id integer | integer | Only jobs for this customer. |
| date_from string | string | ISO date; only jobs created on or after it. |
| page integer | integer | Page number, starting at 1. |
Request
curl https://cotlet.dev/api/v1/simpro/jobs \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("simpro", "list_jobs") const result = await cotlet.call('simpro', 'list_jobs'); cotlet call simpro list_jobs Example response
{
"jobs": [
{
"job_id": 20871,
"customer": "Harbour Dental",
"site": "12 Pier Rd",
"status": "Pending",
"stage": "Pending"
}
],
"page": 1,
"has_more": false
}