latestOpenAPI 3.1.02026-08-171503582.2 MB

6199a9464227

One-Off Tasks

Get a one-off task

Returns a one-off task by its ID, including assignments and subtasks.

get/work/tasks/{taskId}

Path parameters

taskIdstring required

The ID of the One-Off Task

Response

Example response

{
  "data": {
    "id": "mlbxbYW5BxoKZyuz0GtEhg",
    "createdBy": {
      "id": "naAJxoDIuwdgNsQHGRRGqA",
      "email": "jane.doe@example.com",
      "username": "Jane Doe"
    },
    "updatedBy": {
      "id": "naAJxoDIuwdgNsQHGRRGqA",
      "email": "jane.doe@example.com",
      "username": "Jane Doe"
    },
    "assignments": [
      {
        "user": {
          "id": "naAJxoDIuwdgNsQHGRRGqA",
          "email": "jane.doe@example.com",
          "username": "Jane Doe"
        }
      }
    ],
    "linkedWorkflowRun": {
      "id": "hhY3-a3YNHpYViPMvqJOCQ",
      "templateId": "hhY3-a3YNHpYViPMvqJOCQ"
    },
    "links": [
      {
        "href": "https://api.process.st/api/v1.1/resource/XXX"
      }
    ]
  },
  "links": [
    {
      "href": "https://api.process.st/api/v1.1/resource/XXX"
    }
  ]
}