POST
/
v1
/
actions
/
global-search
Search actions
curl --request POST \
  --url https://staging.api.us.aptlydone.com/actions/v1/actions/global-search \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "page": 1,
  "limit": 10,
  "tenantId": "db2f7154-0353-4a6e-ae82-cc81c05950ce",
  "search": "Financial",
  "startDate": "2025-03-05T11:49:50.577Z",
  "endDate": "2025-03-05T11:49:50.577Z",
  "typeIds": "9d5b0518-6b36-4aee-a9e0-7ddc8aed1948, 40a7c215-a47f-4c40-b384-4fce34005a28",
  "statusIds": "5487342e-38cc-4082-94a1-c162ba32a5a4, 1e8a1516-afb5-453d-8818-4cd26c9cc5ca",
  "priorityIds": "9fa95b99-da28-4c47-8e2a-fa606d4458b8, 9d4810a0-8b3e-4bc5-9526-804342daa7c4",
  "ownerIds": "29fff144-a422-45f2-a307-7c503d038e93, 36fcfbed-a389-465f-9bdf-5681fd5cf11e",
  "assigneeIds": "a03c443a-7e29-4946-bda3-2256cca78a81, ed33d374-74a1-4adf-bc0e-f88d5343e5db",
  "sortBy": "createdAt",
  "sortOrder": "desc"
}'
{
  "statusCode": 200,
  "timestamp": "2025-06-24T08:49:17.342Z",
  "message": "Success",
  "data": {
    "page": 1,
    "limit": 10,
    "total": 10,
    "data": [
      {
        "id": "9c01cfd5-3e64-4001-a8c5-0abb3fcdf62b",
        "actionId": "10001",
        "tenantId": "affb22b1-82ae-4226-8fac-bdb410f052c3",
        "actionName": "Review Financial Report",
        "description": "This action requires reviewing the Q1 financial report.",
        "actionTypeId": "e50b387b-856e-4d15-9c3b-ff2210afc42e",
        "actionType": {
          "id": "2b78310f-86fc-4b49-bec5-636960fb242a",
          "tenantId": "81e70d36-416d-42fd-9e36-1ffaafb5d737",
          "type": "Meeting",
          "typeIcon": "calendar",
          "status": true,
          "isCustom": false
        },
        "actionTemplateId": "97c8957d-6357-47c3-8caf-22409060e25e",
        "actionTemplate": {
          "id": "bad70123-b043-42d9-a80a-4d95099879e8",
          "tenantId": "f1dfaa64-a420-4b8b-b105-7cce3e530ce7",
          "name": "Weekly Status Meeting",
          "description": "Template for recurring team status meetings",
          "status": true,
          "type": {
            "id": "2b78310f-86fc-4b49-bec5-636960fb242a",
            "tenantId": "81e70d36-416d-42fd-9e36-1ffaafb5d737",
            "type": "Meeting",
            "typeIcon": "calendar",
            "status": true,
            "isCustom": false
          }
        },
        "actionPriorityId": "e206b561-7c41-4dba-9ddc-81c2b0e0a255",
        "actionStatusId": "3e35cc7c-44f2-49f0-8b97-40e5799be28d",
        "decisionId": "8af836e5-fe8e-4a78-a79c-5a30df373774",
        "decisionDisplayId": "10001",
        "delegationId": "907cb4b9-73a5-4d5a-bb26-492397a3c723",
        "delegationDisplayId": "10001",
        "documentId": "8b506f3d-da53-4c1c-9eb8-61dc4ef4185b",
        "documentDisplayId": "10001",
        "roleId": "8bc8cfce-7186-48b3-9403-cd35c10f4fcd",
        "link": "eyJ0ZW5hbnRJZCI6mZTktMmU5Zi00NDkxLTk5MTctYmFlYWUwY2UwYTQ2In0=",
        "ownerId": "232ada91-905f-4370-95b0-92b5060a03b9",
        "owner": {
          "id": "db1e5b12-5d8f-4856-aa2f-8e96bc41d655",
          "email": "[email protected]",
          "name": "Lorene Hilll",
          "firstName": "Esta",
          "lastName": "Bednar",
          "profileImageUrl": "https://picsum.photos/seed/uSdruM/1774/3925",
          "positions": [
            {
              "id": "c98d0654-88af-4357-92d9-619b13c0fa17",
              "positionName": "Managing Director - North",
              "autoProvisioned": false
            }
          ],
          "mobilePhone": "987654321"
        },
        "dueDate": "2025-04-15T14:00:00.000Z",
        "createdAt": "2025-03-01T09:00:00.000Z",
        "updateAt": "2025-03-01T09:00:00.000Z",
        "createdBy": "name of creator",
        "updateBy": "name of updator",
        "deletedOn": "2025-03-01T09:00:00.000Z",
        "deletedBy": "name of deletor",
        "copiedFrom": "bd4ca965-c78a-48d7-ab3c-54221b33e78a",
        "isDeleted": false,
        "isSystemGenerated": false,
        "assignees": [
          {
            "id": "96ab6544-06f4-431c-9791-e69171a77622",
            "assigneeId": "a3a5b11f-596b-4246-b15f-342ea6069f2a",
            "assignee": {
              "id": "db1e5b12-5d8f-4856-aa2f-8e96bc41d655",
              "email": "[email protected]",
              "name": "Lorene Hilll",
              "firstName": "Esta",
              "lastName": "Bednar",
              "profileImageUrl": "https://picsum.photos/seed/uSdruM/1774/3925",
              "positions": [
                {
                  "id": "c98d0654-88af-4357-92d9-619b13c0fa17",
                  "positionName": "Managing Director - North",
                  "autoProvisioned": false
                }
              ],
              "mobilePhone": "987654321"
            },
            "actionStatusId": "38ae697f-9f5a-45ba-9f34-bb625eb9e2fe",
            "actionStatusName": "TO DO",
            "actionTakenDate": "2025-03-10T09:00:00.000Z"
          }
        ],
        "files": [
          {
            "id": "0eb35285-ed5f-4401-b939-cc52295001bb",
            "fileUrl": "https://storage.example.com/files/report.pdf",
            "fileType": "pdf",
            "fileName": "fileName",
            "createdAt": "2025-03-05T14:30:00.000Z"
          }
        ],
        "priority": {
          "id": "f5d112a4-cb8d-4a77-bbeb-cbb0c0c4d83a",
          "actionPriorityName": "High",
          "isEnabled": true,
          "colorName": "green"
        },
        "status": {
          "id": "af137014-275e-4918-a937-0144950bc38f",
          "actionStatusName": "In Progress",
          "isEnabled": true
        },
        "permissions": [
          {
            "allowed": true,
            "relationship_key": "<string>"
          }
        ]
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json

Actions list retrieved successfully

The response is of type object.