BoldSales

API Documentation

Tasks

Tasks are work items that help organize what needs to be done. You can assign tasks to users, set due dates, and track their status.

Get all tasks

get/api/v1/tasks

Retrieve a list of all tasks, with support for filtering, sorting, and pagination.

Code snippet

curl -X 'GET' \
  'https://{yourdomain}/api/v1/tasks' \
  -H 'accept: text/plain; x-api-version=1.0' \
  -H 'x-api-key: {your API key}'

Query parameters

filterIdintegerApplies a saved filter configuration identified by its numeric ID. Useful for retrieving data based on predefined logic stored in the system (e.g., saved views).
idsstringAccepts one or more task identifiers, separated by commas. Filters results to include only specific tasks (ex: 101,102). If filterId is provided, this is ignored.
ownerstringAccepts one or more owner identifiers, separated by commas. Restricts results to tasks associated with the specified owners (e.g., 101,102). If filterId is provided, this is ignored.
creatorstringAccepts creator identifiers to filter records by who created them. Multiple creator IDs can be provided as comma-separated values (e.g., 101,102). If filterId is provided, this is ignored.
createdOnstringFilters records by creation date within a specified time range. Format: {"from":"2025-07-28T18:30:00.000Z", "to":"2025-07-29T18:29:00.000Z"}. If filterId is provided, this is ignored.
modifiedOnstringRetrieves records modified within a specific date range. Format: {"from":"2025-07-28T18:30:00.000Z", "to":"2025-07-29T18:29:00.000Z"}. If filterId is provided, this is ignored.
includeTotalCountbooleanDetermines if the response includes the total count of matching records.
orderBystringSpecifies the sorting criteria for the returned results. The value "createdOn desc" means records will be ordered by their creation date in descending order (most recent first).
fieldsstringSpecify field API names to include in the response. Accepts one or more field API names, separated by commas.
pageintegerIndicates the current page index in a paginated result set. Supports pagination by defining which chunk of results to retrieve, starting from page 1.
pageSizeintegerSpecifies the maximum number of records to return per page (maximum 100).

Example response

200 Success

{
  "data": [
    {
      "id": 264434,
      "subject": "Complete Financial Audit",
      "description": "Validate financial data integrity",
      "dueDate": "2024-12-31T10:30:00Z",
      "creator": {
        "id": 418,
        "name": "John Cena",
        "status": "Active"
      },
      "modifier": {
        "id": 418,
        "name": "John Cena",
        "status": "Active"
      },
      "createdOn": "2025-08-08T13:55:30.031285Z",
      "modifiedOn": "2025-08-08T13:55:30.031285Z",
      "owner": {
        "id": 749,
        "name": "Aiden Markram",
        "email": "[email protected]",
        "status": "Active"
      },
      "status": {
        "id": 10,
        "value": "Open"
      },
      "type": {
        "id": 20,
        "value": "Follow-up"
      },
      "priority": {
        "id": 30,
        "value": "Low"
      }
    }
  ],
  "pagination": {
    "page": 1,
    "pageSize": 20,
    "totalRecords": 100,
    "totalPages": 5
  }
}