Retrieving Workflow

Listing the Workflow within your Project.

The following call will list the Workflows in the Project with ID 398748937:
(Click here to learn how to get your Project ID)

curl -X GET https://api.brandwatch.com/projects/398748937/workflow

The response will look like this:

[
  {
    "id": 587088,
    "name": "Assignment",
    "children": [
      {
        "id": 587093,
        "name": "[email protected]",
        "ordering": -1
      },
      {
        "id": 588907,
        "name": "[email protected]",
        "ordering": -1
      }
    ]
  },
  {
    "id": 587075,
    "name": "Priority",
    "children": [
      {
        "id": 587076,
        "name": "high",
        "ordering": 1
      },
      {
        "id": 587077,
        "name": "medium",
        "ordering": 2
      },
      {
        "id": 587078,
        "name": "low",
        "ordering": 3
      }
    ]
  },
  {
    "id": 587091,
    "name": "Checked",
    "children": [
      {
        "id": 587092,
        "name": "yes",
        "ordering": -1
      }
    ]
  },
  {
    "id": 587079,
    "name": "Status",
    "children": [
      {
        "id": 587080,
        "name": "open",
        "ordering": 1
      },
      {
        "id": 587081,
        "name": "pending",
        "ordering": 2
      },
      {
        "id": 587082,
        "name": "closed",
        "ordering": 3
      }
    ]
  }
]

You can then use these Workflow category names when filtering or breaking down Mention calls.