List tasks in a date range
AI agents: read /llms.txt; add .md to any page URL. This page as Markdown: /reference/tasks/v1-work-pipeline-calendar.md. Index of every page and the rules for every call: /llms.txt. Guides and concepts in one file: /llms-full.txt. OpenAPI: /openapi.json.
POST/
Tasks whose start or due date falls in the range, or whose dates span it. Returns at most 1,200 Tasks, in the requested sort, then Task id order. This route ignores page and per_page and never returns pagination.
The range runs from the start of the day of start_date to the end of the day of end_date. Send both as ISO 8601 date-times in UTC (2026-11-01T00:00:00Z): the day boundaries are taken from the date as written. Only tasks of live jobs on sales orders are listed.
If a range may hold more than 1,200 tasks, split it into shorter ranges. You can narrow it with the same filters and sort as Filter tasks. A date filter's value is a whole number of days, counted from the moment of the request in UTC: eq N matches the whole UTC day N days from today (0 is today, -1 yesterday); gte N matches dates on or after now plus N days; lte N matches dates on or before now minus N days. So "due in the next 7 days" is due_date gte 0 and due_date lte -7, and "overdue" is due_date lte 0. This differs from the v2 filters (Filter invoices, the production control calendar), where lte and gte both count forward.
Business rules
start_dateandend_dateare required ISO 8601 dates.- A task is in the range when its start or due date falls in it, or it starts before and is due after it. Undated tasks never appear.
Path parameters
Your team slug, shown as Team ID next to your API key in Profile.
- Example
your-team
- Example
Request body
application/json, required.
The last day of the range (ISO 8601).
The first day of the range (ISO 8601).
filtersarray of objectsConditions, all of which must match. Omit for no filter.
- At least 1 item
Fields of each item (3)
What to filter on. See the table in the description.
- One of:
"status_id","status_type","pipeline_id","assigned_users","assigned_to_me","order_created_by","is_rush","start_date","due_date","start_date_is_set","due_date_is_set","status_last_change_date","status_completion_date","search"
- One of:
How to compare. Each kind of key accepts only some operators.
- One of:
"eq","neq","gt","gte","lt","lte","in","nin","bt","ct","sw","ew"
- One of:
What to compare with: text, a number of days, true or false, or an array of hash ids or options, by kind of key.
sortarray of objectsSort keys, applied in order, then by task id. Without
sortthe tasks come by task id.Fields of each item (2)
- One of:
"asc","desc"
- One of:
- One of:
"status_id","status_label","pipeline_id","job_id","start_date","due_date","status_last_change_date","status_completion_date","job_item_count","order_cust_due_date","order_due_date","order_ship_due_date","order_ship_due_date_undated_last","created_at_id"
- One of:
Response
200Successful response.
Fields of each item (24)
assigned_usersarray of objectsWho is assigned.
Fields of each item (3)
avatar_urlstring | nullidstringThe user.
namestring
created_atstring (date-time)due_datestring (date-time) | nullTask due date. ISO 8601 with offset, or null.
idstringThe task.
job_idstringThe job.
job_is_rushboolean | integer | nulljob_item_countnumber | nulljob_namestring | nulljob_scoped_idstringThe job number with its prefix.
job_status_idstring | nullThe job's current status.
namestringnotestring | nullorder_idstringThe order.
order_namestring | nullorder_scoped_idstring | nullThe order number.
pipeline_idstringThe task preset it comes from.
positionintegerOrder among tasks; lower comes first. 0 when unset.
sales_orderobjectA summary of the job's order.
Child fields (14)
created_bystring | nullWho created the order.
cust_due_datestring (date-time) | nullOrder customer due (in-hand) date. ISO 8601 with offset, or null.
customer_idstring | nullThe customer.
customer_namestring | nulldue_datestring (date-time) | nullOrder production due date. ISO 8601 with offset, or null.
external_typestring | nullshopifywhen the order came from Shopify, else null.is_quotebooleanissue_datestring (date-time) | nullOrder issue date. ISO 8601 with offset, or null.
object_typestring | nullsales_orderorquote.ship_due_datestring (date-time) | nullOrder ship-by date. ISO 8601 with offset, or null.
shopify_deleted_externallybooleanshopify_deleted_externally_atstring (date-time) | nullWhen it was deleted in Shopify. ISO 8601 with offset, or null.
start_datestring (date-time) | nullOrder production start. ISO 8601 with offset, or null.
status_idstring | nullThe order status.
start_datestring (date-time) | nullTask start. ISO 8601 with offset, or null.
statusobjectA status: label, kind and place in the list.
Child fields (9)
colorstring | nullHex color.
customer_labelstringidstringThe status.
labelstringpipeline_idstringOnly on the statuses of a task preset (
rolepipeline): the task preset. Absent on other statuses.positionintegerIts place in the team's list: sort by it to find the next status.
rolestringWhich list it belongs to:
jobfor job statuses,pipelinefor the statuses of a task preset.- One of:
"order","quote","job","purchase_order","shipment","customer_message","pipeline"
- One of:
trashedbooleanThe status was deleted.
typestringThe kind of status:
start(Pending),pre_productionandin_progress(In Progress),end(Completed).- One of:
"start","pre_production","in_progress","end"
- One of:
status_completion_datestring (date-time) | nullWhen it reached a Completed status. ISO 8601 with offset, or null.
status_idstringThe task's status (a status of its task preset).
status_last_change_datestring (date-time) | nullWhen the status last changed. ISO 8601 with offset, or null.
updated_atstring (date-time)
Errors
401The API key is missing or wrong (
unauthenticated).403You are not allowed to do this.
api_access_not_in_plan: your team's plan doesn't include API access (Pro and above, with an active subscription or trial), so every request answers this until the team upgrades. When your role lacks the permission the operation needs, the body is only{"message": "Insufficient Permission"}. Other refusals use the error envelope, withunauthorizedoruser_is_not_authorized.404Not found.
page_not_found: the team slug is unknown, you are not a member of the team, or an id in the path is not one of this team's.code: null, with a message that starts "No query results for": there is no record with that id.422The request was refused and changed nothing.
validation_failedlists what to fix inerror.fields; other codes name a business rule, explained inerror.message. A few checks answer with only{"message": "..."}. An operation that calls another service (a payment provider, a carrier, an accounting app) can answerconnect_timeout("Please retry again") when that service does not answer in time: the change may or may not have happened there, so read the record back before you retry.- When
- A date is missing or not ISO 8601, or a filter is invalid.
- Fix
- Send both dates and valid filters.
Notes
- You get the 1,200 tasks with the lowest ids (or first in your sort) in the range; nothing tells you more were left out.
Related
- POSTFilter tasks
/v1/ api/ store/ {team_slug}/ work_pipeline/ filter - POSTList jobs in a date range
/v1/ api/ store/ {team_slug}/ job/ calendar - POSTRead the production control calendar
/v1/ api/ store/ {team_slug}/ production_control/ filter
