Returns tasks, filtered by due date. It’s the API version of the Task report in Shape.
POSThttps://secure-api.setshape.com/api/reports/tasks/{crmid}
Replace
{crmid} with your CRM ID, the Shape system ID that belongs to your API key. Send the standard headers on every request: Authorization: YOUR_API_AUTHORIZATION_KEY and Content-Type: application/json. See Authentication.This report returns data for the system your API key belongs to. Use the CRM ID and API key for the same system.
Dates are optional and filter on the due date; without them, the report returns all tasks. See Reports Overview.
Body parameters
Send a filters object holding the report’s filters.
| Field | Requirement | Description |
|---|---|---|
filters |
Required | An object holding the report’s filters. |
fromDate |
Optional | Earliest due date, YYYY-MM-DD. |
toDate |
Optional | Latest due date, YYYY-MM-DD. |
slctPerPage |
Optional | Results per page. Default 50, maximum 500. |
pn |
Optional | Page number, starting at 1. |
Example request
{
"filters": {
"fromDate": "2026-08-01",
"toDate": "2026-08-08",
"slctPerPage": 50,
"pn": 1
}
}
Response fields
Fields worth knowing:
| Field | Description |
|---|---|
leadType |
The record’s name. |
lead_id |
The record’s ID. |
userId |
The assigned user’s name. |
assignedToId |
The assigned user’s ID. |
createdBy |
The name of the user who assigned the task. |
assignedById |
The ID of the user who assigned the task. |