# Authenticating flowable-task from other application

**URL:** <https://forum.flowable.org/t/authenticating-flowable-task-from-other-application/4394>\
**Category:** Flowable Engine\
**Created:** [August 22, 2019, 1:07pm UTC](https://forum.flowable.org/t/authenticating-flowable-task-from-other-application/4394 "2019-08-22T13:07:52Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![akki](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@akki](https://forum.flowable.org/u/akki)\
**Post date:** [September 2, 2019, 7:03pm UTC](https://forum.flowable.org/t/authenticating-flowable-task-from-other-application/4394/4 "2019-09-02T19:03:33Z")

</div>

Thanks Will !!  
The REST endpoint which you provided : `http://localhost:9999/flowable-task/process-api/runtime/process-instances` worked fine.

And Yes, there is a similar API in flowable-task, used to start new Process Instance `http://localhost:9999/flowable-task/app/rest/process-instances` , which takes JSON object having value of `processDefinitionId` , which is again obtained from API `http://localhost:9999/flowable-task/app/rest/process-definitions?latest=true` , whose response is,

```auto
{
  "size": 1,
  "total": 1,
  "start": 0,
  "data": [
    {
      "id": "processdemo:2:b7e88899-c4c2-11e9-93d6-525349d6ad33",//processDefinitionId
      "name": "ProcessDemo",
      "description": null,
      "key": "processdemo",
      "category": "http://www.flowable.org/processdef",
      "version": 2,
      "deploymentId": "b7cb8ab6-c4c2-11e9-93d6-525349d6ad33",
      "tenantId": "",
      "hasStartForm": false
    }
  ]
}

```

When using above `processDefinitionId` as request body for API, `http://localhost:9999/flowable-task/app/rest/process-instances` , I am able to start the process from Swagger of flowable-ui-task, but if I try to start the process from POSTMAN, it behaves in the same way I described in my question. **(process doesn’t get started and nothing happens in flowable-ui-task console in IDE)**

I’m gonna use the endpoint which you provided, but I’m not sure why it doesn’t work

---

_[View the full topic](https://forum.flowable.org/t/authenticating-flowable-task-from-other-application/4394)._
