> For the complete documentation index, see [llms.txt](https://interfacing.gitbook.io/interfacing-help-files/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://interfacing.gitbook.io/interfacing-help-files/solutions-developers/api-and-information-repository/rest-apis/use-cases-and-examples/retrieve-tasks-of-current-user.md).

# Retrieve Tasks of Current User

The `GET /users/me/actions` endpoint is used to retrieve the list of tasks (or actions) assigned to the currently authenticated user in IMS. This supports a variety of use cases, including:

* Duplicating data onto a third-party platform
* Displaying tasks, deadlines, or approvals in external systems
* Creating filterable widgets for internal portals

***

## Quick Start

* **Base Endpoint URL:** <https://YOURIMS.interfacing.com/api/v1/users/me/actions>
* **Authentication**: Obtain a valid token (see [Authentication & Token Management](/interfacing-help-files/solutions-developers/api-and-information-repository/rest-apis.md#authentication-and-token-management))
* **Swagger URL:** <https://YOURIMS.interfacing.com/api/v1/swagger/#/Action/findActions>

{% hint style="info" %}
This endpoint retrieves tasks for the **currently authenticated user**. To access another user’s tasks, you must authenticate **as that specific user**. System Administrators cannot retrieve tasks on behalf of others using this endpoint.
{% endhint %}

***

## Request Example

```yaml
09:52:17.722 request:
2 > GET http://example/api/v1/admin/actions/848F911D-463C-414B-8319-D99092FB4307
2 > Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9....
2 > Host: example
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/11.0.15)
2 > Accept-Encoding: gzip,deflate
```

***

## Response Example

```json
09:52:17.749 response time in milliseconds: 27
2 < 200
2 < Connection: keep-alive
2 < Cache-Control: no-cache, no-transform, no-store
2 < Content-Type: application/json
2 < Content-Length: 1343
2 < Date: Tue, 03 May 2022 13:52:17 GMT
{
  "targetNodeSequenceNumber": "",
  "onLatestVersion": false,
  "parent": {
    "@type": "NameElement",
    "name": "Default Process Set",
    "nodeType": "PROCESS_SET",
    "nodeId": "0D6AF657-0C16-04E4-50BB-19E9A9D0FCBC"
  },
  "onVersion": null,
  "nodeVersionId": "5CFE531B-5962-4B52-8187-C61E4D2BB832",
  "dueDate": "2022-09-09",
  "actionUrl": "https://training.interfacing.com/new-process",
  "postId": null,
  "creationDate": "2022-05-03T09:52:17.697-04:00",
  "targetNode": {
    "@type": "NameElement",
    "name": "52b5281b-a762-4c48-8816-4e7fc3e56243",
    "nodeType": "PROCESS",
    "nodeId": "209A8A23-4C6C-4EFE-B5E2-914136E12EBF"
  },
  "targetVersion": null,
  "sentBy": {
    "firstName": "Administrator",
    "lastName": null,
    "phone": null,
    "name": "Administrator (epcadmin)",
    "principalId": "75EBC033-E8F2-010A-B97B-30B91435B9F4",
    "middleName": null,
    "email": null,
    "username": "epcadmin"
  },
  "actionType": "TRAINING",
  "targetNodeVersionId": null,
  "onNextPublished": false,
  "actionId": "848F911D-463C-414B-8319-D99092FB4307",
  "onLatestPublished": false,
  "comment": "New process basic training",
  "user": {
    "firstName": null,
    "lastName": "c9bcadb7-a89b-46ee-803c-9ac8c76e3f84",
    "phone": null,
    "name": "c9bcadb7-a89b-46ee-803c-9ac8c76e3f84 (c053d3e8-83f8-4024-a75b-a6bd21c1fca6)",
    "principalId": "BDB163C4-EC93-412F-8A02-A8D9B1048E1E",
    "middleName": null,
    "email": "59f81e47-84a6-4872-a3f9-5a7bbd0e7f9f@abc.com",
    "username": "c053d3e8-83f8-4024-a75b-a6bd21c1fca6"
  },
  "targetUrl": null
}
```

***

## What is this feature in IMS?

IMS includes a <mark style="color:red;">**To Do module**</mark> that centralizes all tasks assigned to a user, such as approvals, training completions, confirmations, and more.&#x20;

These tasks are filterable and sortable, and users can complete them directly within the module, helping them stay organized and on track with their responsibilities.

<mark style="color:red;">To learn more about how tasks work in IMS, click here.</mark>

***

## See Also

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td>Authentication &#x26; Token Management</td><td><a href="/interfacing-help-files/solutions-developers/api-and-information-repository/rest-apis.md#authentication-and-token-management">REST APIs</a></td><td><a href="https://1488562728-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTx7AmE0d2Q4ja20EYjF5%2Fuploads%2FLfvkwix26vW3CnepEMTv%2FIMS-V16-NAV-Home-Icons-5.png?alt=media&amp;token=4244c676-38ac-4218-8552-680a3ac1dcdc">IMS-V16-NAV-Home-Icons-5.png</a></td></tr><tr><td>API Reference (Swagger)</td><td><a href="/interfacing-help-files/solutions-developers/api-and-information-repository/rest-apis/api-reference-swagger.md">API Reference (Swagger)</a></td><td><a href="https://1488562728-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTx7AmE0d2Q4ja20EYjF5%2Fuploads%2FuIm0jP36LBJWUKIgHGxl%2FIMS-V16-NAV-Library-Icons-41.png?alt=media&amp;token=a91c1498-c99a-4013-b6bd-5877df0a71bb">IMS-V16-NAV-Library-Icons-41.png</a></td></tr><tr><td>How to Perform Other Use Cases</td><td><a href="/interfacing-help-files/solutions-developers/api-and-information-repository/rest-apis/use-cases-and-examples/how-to-perform-other-use-cases.md">How to Perform Other Use Cases</a></td><td><a href="https://1488562728-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTx7AmE0d2Q4ja20EYjF5%2Fuploads%2F5Aeu2y0v898h8TlT2GMk%2FIMS-V16-Intro-7.png?alt=media&amp;token=4c09eacd-abdd-44d1-b318-8d6dbb4a11b1">IMS-V16-Intro-7.png</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://interfacing.gitbook.io/interfacing-help-files/solutions-developers/api-and-information-repository/rest-apis/use-cases-and-examples/retrieve-tasks-of-current-user.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
