Skip to content

Projects & Tasks

Projects is where you organize work in SMBcrm. A space holds folders and lists. A folder holds lists. A list holds tasks. Each task has one home list and can be added to other lists too, and a task with a parentTaskId is a subtask. Statuses belong to the space, so every list in a space uses that space’s statuses.

Base URL: https://services.smbcrm.com · Version header: v3 · Scopes: eight scopes, listed below. See Scopes.

Scope What it allows
projects/workspace.readonly Read spaces, folders, lists, statuses, and who has access.
projects/workspace.write Create, update, and delete spaces, folders, and lists. Replace a space’s statuses. Revoke access grants.
projects/tasks.readonly Read, list, search, and batch-fetch tasks, and see which lists a task is on.
projects/tasks.write Create, update, move, and delete tasks. Add a task to a list or remove it from one.
projects/tasks.comments.readonly Read task comments.
projects/tasks.comments.write Create, update, and delete task comments.
projects/tasks.recurring.readonly Read a recurring task.
projects/tasks.recurring.write Create, update, and delete recurring tasks.

Every endpoint on this page except List folders in a space, List lists in a space, and List lists in a folder also accepts an optional locationId query parameter. A Location token or PIT already identifies the location, so you can leave it out. Send it only as a query parameter, never in the path, body, or headers.

Spaces, folders, and lists share one shape. Reads return these fields, and create and update requests take name, color, isPrivate, and userIds.

Field Type Description
id string Resource ID.
type string space, folder, or list.
name string Display name.
locationId string The location the resource belongs to.
parentId string or null The parent resource. A folder’s parent is a space. A list’s parent is the space when you created it directly under the space, and the folder otherwise. Spaces omit it.
effectiveStatusSourceId string or null ID of the space whose status set applies. null when the default set applies. To read the statuses, use Get a list’s statuses.
color string One of the 16 palette colors below.
isPrivate boolean Whether the resource is private.
position string or null Sort key among siblings. Compare it as a string. The server assigns it, and there is no endpoint to reorder.
createdAt string When the resource was created, as an ISO 8601 string.
updatedAt string When the resource was last updated, as an ISO 8601 string.

color accepts only these values: #3B82F6, #6366F1, #8B5CF6, #A855F7, #EC4899, #EF4444, #F97316, #F59E0B, #EAB308, #84CC16, #22C55E, #10B981, #14B8A6, #06B6D4, #0EA5E9, #6B7280. Status colors are separate and accept any hex value.

Setting isPrivate to true requires a non-empty userIds array, and those users are granted access. Grants are add-only: leaving a user out of userIds does not revoke their access. To revoke a grant, use the DELETE endpoints under Space, folder, and list access. Setting isPrivate to false makes the resource public for the location. Existing direct grants stay in place but stop gating access while the resource is public.

Folders and lists under a space or folder page with a cursor. Send limit (1 to 100, default 20) and pass the nextCursor from the previous response as cursor. To open a page centered on one child, send its ID as anchorId. The response then also includes anchorId, anchorIndex, windowStart, and possibly prevCursor. For simple forward paging, leave anchorId out.

Tasks page with searchAfter, an opaque string. Pass the searchAfter from the previous response back unchanged. It is null when there are no more pages.

GET/projects/spaces

List the workspace and every space your token can access.

scope projects/workspace.readonlyauth Location token or PIT

Returns your location’s workspace (id and name) and every space the token can access. Start here to find the space IDs you need for folders and lists.

Terminal window
curl https://services.smbcrm.com/projects/spaces \
-H "Authorization: Bearer <token>" \
-H "Version: v3"
200 OK
{
"workspace": { "id": "<workspace_id>", "name": "<workspace_name>" },
"spaces": [
{
"id": "<space_id>",
"type": "space",
"name": "Marketing",
"locationId": "<location_id>",
"color": "#3B82F6",
"isPrivate": false,
"position": "<position>",
"createdAt": "2026-10-30T15:04:00.000Z",
"updatedAt": "2026-10-30T15:04:00.000Z"
}
]
}
POST/projects/spaces

Create a top-level space.

scope projects/workspace.writeauth Location token or PIT

Creates a space. SMBcrm also creates a default list in the new space, but the response does not include it.

Field Type Description
name string Required. Display name.
color string One of the palette colors.
isPrivate boolean Make the space private. Requires userIds.
userIds array of strings Users to grant access when isPrivate is true. See Users.
Terminal window
curl -X POST https://services.smbcrm.com/projects/spaces \
-H "Authorization: Bearer <token>" \
-H "Version: v3" \
-H "Content-Type: application/json" \
-d '{
"name": "Marketing",
"color": "#3B82F6",
"isPrivate": false
}'
201 Created
{
"id": "<space_id>",
"type": "space",
"name": "Marketing",
"locationId": "<location_id>",
"color": "#3B82F6",
"isPrivate": false,
"position": "<position>",
"createdAt": "2026-10-30T15:04:00.000Z",
"updatedAt": "2026-10-30T15:04:00.000Z"
}
GET/projects/spaces/{spaceId}

Get one space by ID.

scope projects/workspace.readonlyauth Location token or PIT

Returns the space in the same shape as Create a space.

PATCH/projects/spaces/{spaceId}

Update a space's name, color, or privacy.

scope projects/workspace.writeauth Location token or PIT

Send the fields you want to change: name, color, isPrivate, and userIds. When you set isPrivate to true, userIds is required. See Privacy and access. Returns the updated space.

Terminal window
curl -X PATCH https://services.smbcrm.com/projects/spaces/<space_id> \
-H "Authorization: Bearer <token>" \
-H "Version: v3" \
-H "Content-Type: application/json" \
-d '{ "name": "Marketing and Sales", "color": "#6366F1" }'
DELETE/projects/spaces/{spaceId}

Delete a space.

scope projects/workspace.writeauth Location token or PIT

Deletes the space. The folders, lists, and related data inside it follow SMBcrm’s normal delete rules.

200 OK
{ "success": true }
GET/projects/spaces/{spaceId}/folders

List the folders in a space.

scope projects/workspace.readonlyauth Location token or PIT

Returns a page of folders in folders. Page with limit and cursor, as described in Paging.

Terminal window
curl "https://services.smbcrm.com/projects/spaces/<space_id>/folders?limit=20" \
-H "Authorization: Bearer <token>" \
-H "Version: v3"
200 OK
{
"folders": [
{
"id": "<folder_id>",
"type": "folder",
"name": "Client work",
"locationId": "<location_id>",
"parentId": "<space_id>",
"color": "#6366F1",
"isPrivate": false,
"position": "<position>",
"createdAt": "2026-10-30T15:04:00.000Z",
"updatedAt": "2026-10-30T15:04:00.000Z"
}
],
"nextCursor": "<cursor>"
}
POST/projects/spaces/{spaceId}/folders

Create a folder in a space.

scope projects/workspace.writeauth Location token or PIT

Creates a folder in the space. It takes the same body as Create a space: name (required), color, isPrivate, and userIds. SMBcrm also creates a default list in the folder, but the response does not include it.

Terminal window
curl -X POST https://services.smbcrm.com/projects/spaces/<space_id>/folders \
-H "Authorization: Bearer <token>" \
-H "Version: v3" \
-H "Content-Type: application/json" \
-d '{ "name": "Client work", "color": "#6366F1" }'
201 Created
{
"id": "<folder_id>",
"type": "folder",
"name": "Client work",
"locationId": "<location_id>",
"parentId": "<space_id>",
"color": "#6366F1",
"isPrivate": false,
"position": "<position>",
"createdAt": "2026-10-30T15:04:00.000Z",
"updatedAt": "2026-10-30T15:04:00.000Z"
}
GET/projects/folders/{folderId}

Get one folder by ID.

scope projects/workspace.readonlyauth Location token or PIT

Returns the folder in the same shape as Create a folder.

PATCH/projects/folders/{folderId}

Update a folder's name, color, or privacy.

scope projects/workspace.writeauth Location token or PIT

Takes the same optional fields as Update a space: name, color, isPrivate, and userIds. Returns the updated folder.

DELETE/projects/folders/{folderId}

Delete a folder and the lists in it.

scope projects/workspace.writeauth Location token or PIT

Deletes the folder and its nested lists.

200 OK
{ "success": true }
GET/projects/spaces/{spaceId}/lists

List the lists directly under a space.

scope projects/workspace.readonlyauth Location token or PIT

Returns a page of lists in lists. It includes only lists created directly under the space, not lists inside folders. Page with limit and cursor, as described in Paging.

Terminal window
curl "https://services.smbcrm.com/projects/spaces/<space_id>/lists?limit=20" \
-H "Authorization: Bearer <token>" \
-H "Version: v3"
200 OK
{
"lists": [
{
"id": "<list_id>",
"type": "list",
"name": "Launch checklist",
"locationId": "<location_id>",
"parentId": "<space_id>",
"color": "#14B8A6",
"isPrivate": false,
"position": "<position>",
"createdAt": "2026-10-30T15:04:00.000Z",
"updatedAt": "2026-10-30T15:04:00.000Z"
}
],
"nextCursor": null
}
GET/projects/folders/{folderId}/lists

List the lists in a folder.

scope projects/workspace.readonlyauth Location token or PIT

Returns a page of lists in lists, with the same paging and response shape as List lists in a space.

POST/projects/spaces/{spaceId}/lists

Create a list directly under a space.

scope projects/workspace.writeauth Location token or PIT

Creates a list directly under the space. To put the list inside a folder, use Create a list in a folder. The body is the same as Create a space: name (required), color, isPrivate, and userIds.

Terminal window
curl -X POST https://services.smbcrm.com/projects/spaces/<space_id>/lists \
-H "Authorization: Bearer <token>" \
-H "Version: v3" \
-H "Content-Type: application/json" \
-d '{ "name": "Launch checklist", "color": "#14B8A6" }'
201 Created
{
"id": "<list_id>",
"type": "list",
"name": "Launch checklist",
"locationId": "<location_id>",
"parentId": "<space_id>",
"color": "#14B8A6",
"isPrivate": false,
"position": "<position>",
"createdAt": "2026-10-30T15:04:00.000Z",
"updatedAt": "2026-10-30T15:04:00.000Z"
}
POST/projects/folders/{folderId}/lists

Create a list inside a folder.

scope projects/workspace.writeauth Location token or PIT

Creates a list inside the folder, so its tasks are organized under that folder. The body and response match Create a list in a space, and parentId in the response is the folder’s ID.

Terminal window
curl -X POST https://services.smbcrm.com/projects/folders/<folder_id>/lists \
-H "Authorization: Bearer <token>" \
-H "Version: v3" \
-H "Content-Type: application/json" \
-d '{ "name": "Acme onboarding" }'
GET/projects/lists/{listId}

Get one list by ID.

scope projects/workspace.readonlyauth Location token or PIT

Returns the list. parentId is the ID of the folder or space it sits in. To read its statuses, use Get a list’s statuses.

PATCH/projects/lists/{listId}

Update a list's name, color, or privacy.

scope projects/workspace.writeauth Location token or PIT

Takes the same optional fields as Update a space: name, color, isPrivate, and userIds. Returns the updated list.

DELETE/projects/lists/{listId}

Delete a list.

scope projects/workspace.writeauth Location token or PIT

Deletes the list. Tasks that had this list as their home list follow SMBcrm’s normal delete rules, so move any tasks you want to keep to another list first. See Move a task’s home list.

200 OK
{ "success": true }

A status set is a list of status groups, and each group holds statuses. A task stores a status’s key in properties.status, and the server derives properties.statusGroup from it. A task is complete when its statusGroup is done. Statuses are set on the space, and every list in the space reads the same set.

GET/projects/spaces/{spaceId}/statuses

Get the status groups for a space.

scope projects/workspace.readonlyauth Location token or PIT

Returns the space’s status groups. Use it when you draw a board or map task status values to labels.

Terminal window
curl https://services.smbcrm.com/projects/spaces/<space_id>/statuses \
-H "Authorization: Bearer <token>" \
-H "Version: v3"
200 OK
{
"groups": [
{
"key": "todo",
"label": "To Do",
"color": "#E2E8F0",
"position": 0,
"statuses": [
{ "key": "to_do", "label": "To Do", "color": "#94A3B8", "position": 0 }
]
},
{
"key": "done",
"label": "Done",
"color": "#DCFCE7",
"position": 1,
"statuses": [
{ "key": "complete", "label": "Complete", "color": "#22C55E", "position": 0 }
]
}
]
}
GET/projects/lists/{listId}/statuses

Get the status groups that apply to a list.

scope projects/workspace.readonlyauth Location token or PIT

Returns the same status groups as the space that owns the list, in the same shape as Get a space’s statuses. Use this endpoint instead of walking parentId up to the space yourself.

PUT/projects/spaces/{spaceId}/statuses

Replace the whole status set for a space.

scope projects/workspace.writeauth Location token or PIT

Replaces the space’s entire status set. Send every group you want to keep, because any group or status you leave out is removed. A task that still uses a removed status key keeps that key until you update the task, so move those tasks to a new status first.

Field Type Description
groups array of objects Required. The complete list of status groups.
groups[].key string Required. Unique key for the group. Letters, digits, and underscores only.
groups[].label string Required. Display label.
groups[].color string Hex color.
groups[].position number Sort position, 0 or higher. Defaults to 0.
groups[].statuses array of objects Required. The statuses in this group.
groups[].statuses[].key string Required. Unique key for the status. Letters, digits, and underscores only. This is the value tasks store.
groups[].statuses[].label string Required. Display label, up to 20 characters.
groups[].statuses[].color string Hex color.
groups[].statuses[].position number Sort position, 0 or higher. Defaults to 0.
Terminal window
curl -X PUT https://services.smbcrm.com/projects/spaces/<space_id>/statuses \
-H "Authorization: Bearer <token>" \
-H "Version: v3" \
-H "Content-Type: application/json" \
-d '{
"groups": [
{
"key": "todo",
"label": "To Do",
"color": "#E2E8F0",
"position": 0,
"statuses": [
{ "key": "to_do", "label": "To Do", "color": "#94A3B8", "position": 0 }
]
},
{
"key": "done",
"label": "Done",
"color": "#DCFCE7",
"position": 1,
"statuses": [
{ "key": "complete", "label": "Complete", "color": "#22C55E", "position": 0 }
]
}
]
}'

The response returns the saved groups in the same shape as Get a space’s statuses.

These endpoints show who has access to a space, folder, or list and revoke direct grants. Each GET returns one users page that combines two kinds of access. direct means the user was granted access on this resource. inherited means access comes from a private ancestor, and inheritedFrom names the closest one. Direct grants come first.

The response has user IDs only, with no name, email, or photo, and there is no filter. To get names, look up each userId with Users. Grants are added through userIds on create and update, as described in Privacy and access.

GET/projects/spaces/{spaceId}/users

List the users who have access to a space.

scope projects/workspace.readonlyauth Location token or PIT
Query param Type Description
skip number Users to skip, direct grants first and then inherited. Default 0.
limit number Page size, 1 to 50. Default 50.
Terminal window
curl "https://services.smbcrm.com/projects/spaces/<space_id>/users?limit=50" \
-H "Authorization: Bearer <token>" \
-H "Version: v3"
200 OK
{
"users": [
{
"userId": "<user_id>",
"principalType": "user",
"mode": "allow",
"source": "direct",
"inheritedFrom": null
}
],
"skip": 0,
"limit": 50,
"total": 1
}

total counts direct and inherited users together, before paging. Only allow grants are listed. Deny grants don’t appear, so this isn’t the full effective access list.

DELETE/projects/spaces/{spaceId}/users/{userId}

Revoke a user's direct grant on a space.

scope projects/workspace.writeauth Location token or PIT

Revokes a direct grant. Repeating the call is safe if the grant is already gone. It does not change isPrivate, and access inherited from an ancestor stays.

200 OK
{ "success": true }
GET/projects/folders/{folderId}/users

List the users who have access to a folder.

scope projects/workspace.readonlyauth Location token or PIT

Takes the same skip and limit parameters and returns the same shape as Get a space’s users.

DELETE/projects/folders/{folderId}/users/{userId}

Revoke a user's direct grant on a folder.

scope projects/workspace.writeauth Location token or PIT

Revokes a direct grant on the folder, with the same behavior as Revoke a user’s access to a space. Returns { "success": true }.

GET/projects/lists/{listId}/users

List the users who have access to a list.

scope projects/workspace.readonlyauth Location token or PIT

Takes the same skip and limit parameters and returns the same shape as Get a space’s users. In this example the list is inside a private folder, so one user’s access is inherited from the folder.

200 OK
{
"users": [
{
"userId": "<user_id>",
"principalType": "user",
"mode": "allow",
"source": "direct",
"inheritedFrom": null
},
{
"userId": "<user_id>",
"principalType": "user",
"mode": "allow",
"source": "inherited",
"inheritedFrom": { "id": "<folder_id>", "name": "Client work", "type": "folder" }
}
],
"skip": 0,
"limit": 50,
"total": 2
}
DELETE/projects/lists/{listId}/users/{userId}

Revoke a user's direct grant on a list.

scope projects/workspace.writeauth Location token or PIT

Revokes a direct grant on the list, with the same behavior as Revoke a user’s access to a space. Returns { "success": true }.

Task endpoints return a task with these fields.

Field Type Description
id string Task ID.
locationId string The location the task belongs to.
objectKey string Always task.
assignees array of strings IDs of the assigned users.
createdAt string When the task was created, as an ISO 8601 string.
updatedAt string When the task was last updated, as an ISO 8601 string. Use it with gte in Search tasks to sync changes.
createdBy object Who created the task: sourceId, source, channel, and createdAt.
properties object The task’s own fields, described next.
parentName string The parent task’s title. Returned only by Search tasks with subtaskViewMode set to separate.
subtasks array Child tasks. Returned only by Search tasks with subtaskViewMode set to expanded.

properties holds these fields, plus the values of your location’s task custom fields as extra keys.

properties field Type Description
title string Task title.
body string Task body as TipTap HTML or JSON.
status string Status key from the space’s statuses, not the label.
statusGroup string The group key for status. Read-only. The task is complete when this is done.
dueDate string Due date, as an ISO 8601 string.
startDate string Start date, as an ISO 8601 string.
priority number 1 (highest), 2, 3, or 4 (lowest).
primaryListId string ID of the task’s home list.
parentTaskId string ID of the parent task, when this task is a subtask.
contactId string ID of the linked contact.
businessId string ID of the linked business.

Custom field keys can’t reuse any of those names: title, body, status, statusGroup, dueDate, startDate, priority, primaryListId, parentTaskId, contactId, or businessId.

POST/projects/lists/{listId}/tasks

Create a task in a list.

scope projects/tasks.writeauth Location token or PIT

Creates a task with the list in the path as its home list. title and dueDate are required. To create a subtask, send parentTaskId.

Field Type Description
title string Required. Task title.
dueDate string Required. Due date as an ISO 8601 string or a Unix timestamp string. Responses always return ISO 8601.
body string Task body as TipTap HTML or JSON, up to 32,000 characters. SMBcrm sanitizes it and keeps basic formatting and links.
startDate string Start date as an ISO 8601 string or a Unix timestamp string.
status string A status key from the list’s statuses. Don’t send statusGroup, because the server derives it.
priority number 1 (highest), 2, 3, or 4 (lowest).
parentTaskId string ID of the parent task, to create a subtask.
assignees array of strings One user ID. Only one assignee is supported, and extra IDs return 422. See Users.
contactId string Contact to link to the task. See Contacts.
businessId string Business to link to the task.
customFields object Custom field values keyed by the task field key, without the task. prefix. Values are checked against your location’s task fields. Find the keys with Custom Fields, Values & Tags, using task as the objectKey.
Terminal window
curl -X POST https://services.smbcrm.com/projects/lists/<list_id>/tasks \
-H "Authorization: Bearer <token>" \
-H "Version: v3" \
-H "Content-Type: application/json" \
-d '{
"title": "Renewal call",
"dueDate": "2026-11-05T17:00:00.000Z",
"body": "<p>Call the client about renewal</p>",
"status": "to_do",
"priority": 2,
"assignees": ["<user_id>"],
"contactId": "<contact_id>"
}'

The response wraps the task in task. It has no subtasks.

200 OK
{
"task": {
"id": "<task_id>",
"locationId": "<location_id>",
"objectKey": "task",
"assignees": ["<user_id>"],
"createdAt": "2026-10-30T15:04:00.000Z",
"updatedAt": "2026-10-30T15:04:00.000Z",
"properties": {
"title": "Renewal call",
"body": "<p>Call the client about renewal</p>",
"status": "to_do",
"statusGroup": "todo",
"dueDate": "2026-11-05T17:00:00.000Z",
"priority": 2,
"primaryListId": "<list_id>",
"contactId": "<contact_id>"
}
}
}
GET/projects/lists/{listId}/tasks

Page through the tasks whose home list is this list.

scope projects/tasks.readonlyauth Location token or PIT

Returns the tasks whose home list is this list. For subtask-focused views, use Search tasks with parentTaskId or subtaskViewMode instead.

Query param Type Description
limit number Tasks per page, 1 to 100. Default 50.
searchAfter string The searchAfter from the previous response, passed back unchanged.
Terminal window
curl "https://services.smbcrm.com/projects/lists/<list_id>/tasks?limit=50" \
-H "Authorization: Bearer <token>" \
-H "Version: v3"
200 OK
{
"tasks": [
{
"id": "<task_id>",
"locationId": "<location_id>",
"objectKey": "task",
"assignees": ["<user_id>"],
"createdAt": "2026-10-30T15:04:00.000Z",
"updatedAt": "2026-10-30T15:04:00.000Z",
"properties": {
"title": "Renewal call",
"status": "to_do",
"statusGroup": "todo",
"dueDate": "2026-11-05T17:00:00.000Z",
"priority": 2,
"primaryListId": "<list_id>"
}
}
],
"total": 1,
"searchAfter": null
}
GET/projects/tasks/{taskId}

Get one task or subtask by ID.

scope projects/tasks.readonlyauth Location token or PIT

Returns the task in task. For a subtask, task.properties.parentTaskId is the parent’s ID. The response never includes embedded subtasks. To get them, use Search tasks with subtaskViewMode set to expanded.

Terminal window
curl https://services.smbcrm.com/projects/tasks/<task_id> \
-H "Authorization: Bearer <token>" \
-H "Version: v3"

The response has the same shape as the one in Create a task.

PATCH/projects/tasks/{taskId}

Update a task or subtask.

scope projects/tasks.writeauth Location token or PIT

Send the fields you want to change. The body takes title, dueDate, body, startDate, status, priority, parentTaskId, assignees, contactId, businessId, and customFields, with the same types as Create a task. dueDate and startDate accept ISO 8601 or a Unix timestamp. Don’t send a task’s own ID as its parentTaskId. Returns the updated task in task, with no subtasks.

Terminal window
curl -X PATCH https://services.smbcrm.com/projects/tasks/<task_id> \
-H "Authorization: Bearer <token>" \
-H "Version: v3" \
-H "Content-Type: application/json" \
-d '{ "status": "complete", "priority": 1 }'
DELETE/projects/tasks/{taskId}

Delete a task or subtask.

scope projects/tasks.writeauth Location token or PIT

Deletes the task. A second delete of the same ID returns not found.

200 OK
{ "success": true, "id": "<task_id>" }
POST/projects/tasks/search

Search tasks with filters, sort, and free-text query.

scope projects/tasks.readonlyauth Location token or PIT

Searches the tasks in your location. It is a POST, but it only reads, so it needs the projects/tasks.readonly scope.

Field Type Description
limit number Required. Tasks per page, 1 to 100.
searchAfter string The searchAfter from the previous response, for the next page.
query string Free-text search across task properties, up to 75 characters.
listIds array of strings Limit the search to these lists, up to 10. Don’t also send a graph filter. More than 10 IDs, an ID that isn’t a list, or a second list scope returns 422.
filters array of objects Filters and filter groups, described below.
sort array of objects Sort order. Each item has a field (dueDate, startDate, createdAt, or updatedAt) and a direction (asc or desc, default asc).
subtaskViewMode string collapsed returns parent tasks only. expanded returns each parent with its subtasks. separate returns subtasks as their own records, with parentTaskId and parentName.

subtaskViewMode and a parentTaskId filter need a Tasks V2 (Kanban) location. On any other location they return 422.

Filters. Each item in filters is either a filter or a group. A filter has a field, an operator, and a value for most operators. A group has group (AND or OR) and its own filters array, and groups nest up to 3 levels deep.

  • Fields: status, assignees, parentTaskId, dueDate, startDate, createdAt, updatedAt, contactId, businessId, and your custom field keys. An unknown field returns 422.
  • Operators: eq, not_eq, gt, gte, lt, lte, contains, not_contains, contains_set, range, nested, exists, and not_exists. exists and not_exists take no value, and contains_set takes an array.
Terminal window
curl -X POST https://services.smbcrm.com/projects/tasks/search \
-H "Authorization: Bearer <token>" \
-H "Version: v3" \
-H "Content-Type: application/json" \
-d '{
"limit": 25,
"listIds": ["<list_id>"],
"filters": [
{
"group": "AND",
"filters": [
{ "field": "status", "operator": "eq", "value": "to_do" }
]
},
{ "field": "updatedAt", "operator": "gte", "value": "2026-10-01T00:00:00.000Z" }
],
"sort": [{ "field": "dueDate", "direction": "asc" }]
}'

total is the number of matches after your filters and the token’s access are applied. Keep sending the returned searchAfter until it is null.

200 OK
{
"tasks": [
{
"id": "<task_id>",
"locationId": "<location_id>",
"objectKey": "task",
"assignees": ["<user_id>"],
"createdAt": "2026-10-30T15:04:00.000Z",
"updatedAt": "2026-10-30T15:04:00.000Z",
"properties": {
"title": "Renewal call",
"status": "to_do",
"statusGroup": "todo",
"dueDate": "2026-11-05T17:00:00.000Z",
"primaryListId": "<list_id>"
}
}
],
"total": 1,
"searchAfter": "<search_after>"
}
POST/projects/tasks/batch

Fetch up to 100 tasks by ID in one call.

scope projects/tasks.readonlyauth Location token or PIT

Fetches tasks by ID. Tasks the token can’t access are left out of the response instead of causing an error. Embedded subtasks are never included.

Field Type Description
ids array of strings Required. Task IDs to fetch, 1 to 100.
Terminal window
curl -X POST https://services.smbcrm.com/projects/tasks/batch \
-H "Authorization: Bearer <token>" \
-H "Version: v3" \
-H "Content-Type: application/json" \
-d '{ "ids": ["<task_id>", "<task_id>"] }'

The response is { "tasks": [ ... ] }, with each task in the shape described in Task fields.

GET/projects/tasks/{taskId}/lists

List every list a task belongs to.

scope projects/tasks.readonlyauth Location token or PIT

Returns every list the task is on that the token can access. The home list has isHome set to true, and its ID matches properties.primaryListId. The other rows are additional lists.

200 OK
{
"lists": [
{
"id": "<list_id>",
"type": "list",
"name": "Launch checklist",
"color": "#14B8A6",
"isPrivate": false,
"isHome": true
}
]
}
PUT/projects/tasks/{taskId}/home-list

Move a task's home list to another list.

scope projects/tasks.writeauth Location token or PIT

Changes the task’s home list.

Field Type Description
listId string Required. ID of the new home list.
Terminal window
curl -X PUT https://services.smbcrm.com/projects/tasks/<task_id>/home-list \
-H "Authorization: Bearer <token>" \
-H "Version: v3" \
-H "Content-Type: application/json" \
-d '{ "listId": "<list_id>" }'
200 OK
{ "success": true }

A 409 has two causes and no separate error code: the task is already on the destination list (including as an additional list), or it is not on its current home list. If the task is already on the destination as an additional list, remove it from there first with Remove a task from a list, then move it.

POST/projects/lists/{listId}/tasks/{taskId}

Add an existing task to a list as an additional list.

scope projects/tasks.writeauth Location token or PIT

Adds the task to this list as an additional list, not its home list. The request has no body. It isn’t idempotent: adding a task that is already on the list conflicts. To change the home list, use Move a task’s home list.

200 OK
{ "success": true }
DELETE/projects/lists/{listId}/tasks/{taskId}

Remove a task from an additional list.

scope projects/tasks.writeauth Location token or PIT

Removes the task from an additional list. It does not delete the task, and it can’t remove a task from its home list. Move the home list first. To delete the task, use Delete a task.

200 OK
{ "success": true }

A comment’s body is TipTap HTML or JSON, sanitized when you save it. Replies are one level deep. They appear in the same comments array as top-level comments, with parentCommentId set.

Comment field Type Description
id string Comment ID.
taskId string The task the comment is on.
body string Comment text.
authorId string ID of the user who wrote it.
parentCommentId string or null The comment this one replies to. null for top-level comments.
mentionedUserIds array of strings IDs of mentioned users.
createdAt string ISO 8601 timestamp.
updatedAt string ISO 8601 timestamp.
GET/projects/tasks/{taskId}/comments

Page through the comments on a task.

scope projects/tasks.comments.readonlyauth Location token or PIT

Deleted comments are left out.

Query param Type Description
skip number Top-level comments to skip. Default 0. Must be a multiple of limit, such as 0, limit, or 2 * limit. Any other value returns 400.
limit number Comments per page, 1 to 100. Default 50.
Terminal window
curl "https://services.smbcrm.com/projects/tasks/<task_id>/comments?limit=50" \
-H "Authorization: Bearer <token>" \
-H "Version: v3"

total counts top-level comments only, not replies.

200 OK
{
"comments": [
{
"id": "<comment_id>",
"taskId": "<task_id>",
"body": "<p>Sent the renewal quote.</p>",
"authorId": "<user_id>",
"parentCommentId": null,
"mentionedUserIds": [],
"createdAt": "2026-10-30T15:04:00.000Z",
"updatedAt": "2026-10-30T15:04:00.000Z"
}
],
"total": 1,
"skip": 0,
"limit": 50
}
POST/projects/tasks/{taskId}/comments

Add a comment or a reply to a task.

scope projects/tasks.comments.writeauth Location token or PIT

Creates a top-level comment, or a reply when you send parentCommentId.

Field Type Description
body string Required. Comment text as TipTap HTML or JSON, up to 32,000 characters.
parentCommentId string ID of the comment to reply to. Leave it out for a top-level comment.
mentionedUserIds array of strings IDs of the users to mention.
Terminal window
curl -X POST https://services.smbcrm.com/projects/tasks/<task_id>/comments \
-H "Authorization: Bearer <token>" \
-H "Version: v3" \
-H "Content-Type: application/json" \
-d '{
"body": "<p>Sent the renewal quote.</p>",
"mentionedUserIds": ["<user_id>"]
}'
201 Created
{
"comment": {
"id": "<comment_id>",
"taskId": "<task_id>",
"body": "<p>Sent the renewal quote.</p>",
"authorId": "<user_id>",
"parentCommentId": null,
"mentionedUserIds": ["<user_id>"],
"createdAt": "2026-10-30T15:04:00.000Z",
"updatedAt": "2026-10-30T15:04:00.000Z"
}
}
PATCH/projects/tasks/{taskId}/comments/{commentId}

Edit a comment you wrote.

scope projects/tasks.comments.writeauth Location token or PIT

Updates the comment’s body and, when you send it, mentionedUserIds. body is required. Only the comment’s author can edit it, and anyone else gets 403. Returns the updated comment in comment.

Terminal window
curl -X PATCH https://services.smbcrm.com/projects/tasks/<task_id>/comments/<comment_id> \
-H "Authorization: Bearer <token>" \
-H "Version: v3" \
-H "Content-Type: application/json" \
-d '{ "body": "<p>Sent the revised renewal quote.</p>" }'
DELETE/projects/tasks/{taskId}/comments/{commentId}

Delete a comment you wrote.

scope projects/tasks.comments.writeauth Location token or PIT

Deletes the comment, and it no longer appears in List comments on a task. Only the comment’s author can delete it, and anyone else gets 403.

200 OK
{ "success": true }

A recurring task creates tasks on a schedule. It isn’t attached to a list, and there is no endpoint to list recurring tasks, so keep the id from the create response.

Recurring tasks use owners (an array of user IDs) and contactIds (an array of contact IDs). Tasks use assignees and contactId. The schedule goes in rruleOptions:

rruleOptions field Type Required Description
intervalType string Yes yearly, monthly, weekly, daily, or hourly.
interval number Yes Number of intervalType units between occurrences.
startDate string Yes When the schedule starts.
dueAfterSeconds number Yes Seconds after each occurrence starts until its task is due.
endDate string No When the schedule ends.
count number No Maximum number of tasks to create.
dayOfWeek string No MO, TU, WE, TH, FR, SA, or SU, for weekly schedules.
dayOfMonth number No Day of the month, from 1 to 31.
monthOfYear number No Month of the year, 1 to 12.
createTaskIfOverDue boolean No Whether to create a task that is already overdue.
POST/projects/recurring-tasks

Create a recurring task.

scope projects/tasks.recurring.writeauth Location token or PIT
Field Type Description
title string Required. Title for the tasks it creates.
rruleOptions object Required. The schedule, as described above.
description string Description of the task.
contactIds array of strings IDs of the contacts the task is for.
owners array of strings IDs of the users the task is assigned to.
ignoreTaskCreation boolean Set to true to skip creating the first task.
Terminal window
curl -X POST https://services.smbcrm.com/projects/recurring-tasks \
-H "Authorization: Bearer <token>" \
-H "Version: v3" \
-H "Content-Type: application/json" \
-d '{
"title": "Weekly check-in",
"description": "Call the customer and confirm next steps.",
"contactIds": ["<contact_id>"],
"owners": ["<user_id>"],
"rruleOptions": {
"intervalType": "weekly",
"interval": 1,
"dayOfWeek": "MO",
"startDate": "2026-11-02T09:00:00.000Z",
"dueAfterSeconds": 86400
}
}'
201 Created
{
"recurringTask": {
"id": "<recurring_task_id>",
"title": "Weekly check-in",
"locationId": "<location_id>",
"deleted": false,
"dueAfterSeconds": 86400,
"rruleOptions": {
"intervalType": "weekly",
"interval": 1,
"dayOfWeek": "MO",
"startDate": "2026-11-02T09:00:00.000Z",
"dueAfterSeconds": 86400
}
}
}
GET/projects/recurring-tasks/{id}

Get one recurring task by ID.

scope projects/tasks.recurring.readonlyauth Location token or PIT

Returns the recurring task in recurringTask, in the same shape as Create a recurring task.

PUT/projects/recurring-tasks/{id}

Update a recurring task's schedule or template.

scope projects/tasks.recurring.writeauth Location token or PIT

Updates the schedule or the task template. The body takes the same fields as Create a recurring task, and none of them are required. If you send rruleOptions, include its required fields. Returns the recurring task in recurringTask.

Terminal window
curl -X PUT https://services.smbcrm.com/projects/recurring-tasks/<recurring_task_id> \
-H "Authorization: Bearer <token>" \
-H "Version: v3" \
-H "Content-Type: application/json" \
-d '{ "title": "Weekly customer check-in" }'
DELETE/projects/recurring-tasks/{id}

Delete a recurring task.

scope projects/tasks.recurring.writeauth Location token or PIT

Deletes the recurring task, so it stops creating new tasks.

200 OK
{ "success": true, "id": "<recurring_task_id>" }
  • Contacts: the people tasks can link to, and the tasks attached to each contact.
  • Locations: account-level task search and the /locations/{locationId}/recurring-tasks endpoints.
  • Users: look up the user IDs used for assignees, mentions, and access.
  • Custom Fields, Values & Tags: define the custom fields you set on tasks.
  • Scopes: the permissions your token needs for each endpoint.