---
title: "Find possible default actions by scheme(s)"
method: GET
path: "/api/v1/workflow/defaultactions/schemes"
tags: ["Workflow"]
---

# Find possible default actions by scheme(s)

`GET /api/v1/workflow/defaultactions/schemes`

Returns a list of actions that are eligible to be used as a [default action](https://www.dotcms.com/docs/latest/managing-workflows#DefaultActions) for one or more [workflow schemes](https://www.dotcms.com/docs/latest/managing-workflows#Schemes).

## Query parameters

- `ids` string, required

## Response `200`

Action(s) returned successfully

- ResponseEntityDefaultWorkflowActionsView
  - `errors` ErrorEntity[]
    - `errorCode` string
    - `message` string
    - `fieldName` string
  - `entity` WorkflowDefaultActionView[]
    - `scheme` WorkflowScheme
      - `id` string
      - `creationDate` string, date-time
      - `name` string
      - `variableName` string
      - `description` string
      - `archived` boolean
      - `mandatory` boolean
      - `defaultScheme` boolean
      - `modDate` string, date-time
      - `entryActionId` string
      - `system` boolean
    - `action` WorkflowAction
      - `id` string
      - `name` string
      - `schemeId` string
      - `condition` string
      - `nextStep` string
      - `nextAssign` string
      - `icon` string
      - `roleHierarchyForAssign` boolean
      - `assignable` boolean
      - `commentable` boolean
      - `order` integer
      - `saveActionlet` boolean
      - `publishActionlet` boolean
      - `unpublishActionlet` boolean
      - `archiveActionlet` boolean
      - `pushPublishActionlet` boolean
      - `onlyBatchActionlet` boolean
      - `unarchiveActionlet` boolean
      - `deleteActionlet` boolean
      - `destroyActionlet` boolean
      - `moveActionlet` boolean
      - `commentActionlet` boolean
      - `metadata` object
      - `resetable` boolean
      - `nextStepCurrentStep` boolean
      - `moveActionletHashPath` boolean
      - `owner` string
      - `showOn` string[]
      - `hasOnlyBatchActionlet` boolean
      - `hasPublishActionlet` boolean
      - `hasUnpublishActionlet` boolean
      - `hasArchiveActionlet` boolean
      - `hasUnarchiveActionlet` boolean
      - `hasDeleteActionlet` boolean
      - `hasDestroyActionlet` boolean
      - `hasCommentActionlet` boolean
      - `hasResetActionlet` boolean
      - `hasPushPublishActionlet` boolean
      - `hasMoveActionletActionlet` boolean
      - `hasSaveActionlet` boolean
      - `hasMoveActionletHasPathActionlet` boolean
    - `firstStep` WorkflowStep
      - `id` string
      - `creationDate` string, date-time
      - `name` string
      - `schemeId` string
      - `myOrder` integer
      - `resolved` boolean
      - `enableEscalation` boolean
      - `escalationAction` string
      - `escalationTime` integer
  - `messages` MessageEntity[]
    - `message` string
  - `i18nMessagesMap` object
  - `permissions` string[]
  - `pagination` Pagination
    - `currentPage` integer
    - `perPage` integer
    - `totalEntries` integer

## Other responses

- `401` — Invalid User
- `403` — Forbidden
- `404` — Workflow action not found
- `406` — Not Acceptable
- `500` — Internal Server Error

---

[API](https://skmtc.dev/anzworldline-solutions/apis/dotcms-rest-api.md) · [All operations](https://skmtc.dev/anzworldline-solutions/apis/dotcms-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/anzworldline-solutions/dotcms-rest-api/revisions/0f38cbc3bd36/schema)
