✅ Approval Workflows

List approval workflows

Retrieve the workspace's published (non-draft) multi-level approval workflows. Use the returned id as approval.workflow_id when creating or updating a post.

get/api/v1/workspaces/{workspace_id}/approval-workflows

Path parameters

workspace_idstring required
Example:610a1e660cb41530ca40d372

Workspace ID

Response

Approval workflows retrieved successfully

statusboolean
messagestring

Example response

{
  "status": true,
  "message": "Approval workflows retrieved successfully",
  "data": [
    {
      "id": "66a1f2e4c8b9a1234567890d",
      "_id": "66a1f2e4c8b9a1234567890d",
      "name": "Marketing Approval",
      "is_default": true,
      "levels": [
        {
          "level_number": 1,
          "title": "Editors",
          "rule": "anyone",
          "members": [
            {
              "user_id": "627a078300a7d866600e7d02"
            }
          ]
        }
      ]
    }
  ]
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.