BoldSales

API Documentation

Tags

Tags are customizable labels for organizing business data across cross-module associations with colors for improved data management and filtering.

Get all tags

get/api/v1/tags

Retrieves a list of tags with pagination support. Each tag includes its name, color code, associated module details, creation and modification timestamps, and creator/modifier information.

Code snippet

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

Query parameters

namestringFilter tags by name. Accepts a tag name to search for.
moduleIdsstringFilter tags by module IDs. Accepts one or more module identifiers, separated by commas (e.g., 1,2,3).
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 (default: 10, maximum: 100).
includeCountbooleanDetermines whether 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 the created on date in descending order (most recent first).

Example response

200 Success

{
  "data": [
    {
      "id": 1001,
      "name": "Follow Up",
      "colorCode": "#36BFFA",
      "modules": [
        {
          "id": 1,
          "name": "Contact",
          "singularName": "Lead",
          "pluralName": "Leads"
        },
        {
          "id": 3,
          "name": "Pipeline",
          "singularName": "Pipeline",
          "pluralName": "Pipelines"
        }
      ],
      "createdOn": "2026-01-19T14:35:18Z",
      "creator": {
        "id": 101,
        "name": "Alex Johnson",
        "status": "Active"
      },
      "modifiedOn": "2026-04-13T05:30:06Z",
      "modifier": {
        "id": 102,
        "name": "Maria Fernandez",
        "status": "Active"
      }
    },
    {
      "id": 1002,
      "name": "High Priority",
      "colorCode": "#FF4D4F",
      "modules": [
        {
          "id": 2,
          "name": "Company",
          "singularName": "Company",
          "pluralName": "Companies"
        }
      ],
      "createdOn": "2026-01-20T10:15:30Z",
      "creator": {
        "id": 103,
        "name": "Daniel Wong",
        "status": "Active"
      },
      "modifiedOn": "2026-01-20T10:15:30Z",
      "modifier": {
        "id": 103,
        "name": "Daniel Wong",
        "status": "Active"
      }
    },
    {
      "id": 1003,
      "name": "Archived",
      "colorCode": "#9E9E9E",
      "modules": [],
      "createdOn": "2026-01-16T05:18:55Z",
      "creator": {
        "id": 104,
        "name": "Emily Carter",
        "status": "Active"
      },
      "modifiedOn": "2026-01-16T05:19:02Z",
      "modifier": {
        "id": 101,
        "name": "Alex Johnson",
        "status": "Active"
      }
    }
  ]
}