> For the complete documentation index, see [llms.txt](https://docs.fieldmotion.com/fieldmotion-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fieldmotion.com/fieldmotion-api-docs/task/_get.md).

# \_get

Get a Task data.

### Parameters

#### id

The ID of the Task to get.

### Example

```
FM_api('Task_get', ['id' => '3']);
```

### Result

#### On Success

```
"{"privacy":"1","subject":"Email customer","due_date":"2018-10-02 17:00:11","id":"3","assigned_to":"82878","customer_id":"4","details":"Email to confirm job","status":"0","resolution":"","time_spent":"0","type":"1"}"
```

#### On Failure

If the task does not exist, then the result will be:

```
{"false"}
```
