GET
/
v1
/
actions
/
actions-group-counts
Get actions group count by action statuses and action types
curl --request GET \
  --url https://staging.api.us.aptlydone.com/actions/v1/actions/actions-group-counts \
  --header 'Authorization: Bearer <token>'
{
  "statusCode": 200,
  "timestamp": "2025-06-24T08:49:17.337Z",
  "message": "Success",
  "data": {
    "page": 1,
    "limit": 10,
    "total": 10,
    "data": [
      "<any>"
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

tenantId
string
required

Tenant ID

Example:

"47eb70b6-7a93-4170-8a9f-1cdd9160183f"

actionGroupType
enum<string>
required

Action group type (status, type)

Available options:
status,
type
Example:

"status"

actionFilterType
enum<string>

Action filter type considering (all,mine)

Available options:
all,
active,
inactive,
mine
Example:

"all"

statusIds
string

Action status IDs (comma separated)

Example:

"453f2a11-705e-42f3-9bff-f33b2f964227, 6f9d5386-e328-406c-b501-a10172d7bda3"

typeIds
string

Action type IDs (comma separated)

Example:

"f3ee9baf-78b0-4943-b1b9-8b467bf08baa, 2fe4ba72-9d3b-4168-a75c-3848573e43a6"

duration
number

Duration (in month)

Example:

3

Response

200 - application/json

Action Counts fetched successfully

The response is of type object.