# Flowable REST API - process definition id required

**URL:** <https://forum.flowable.org/t/flowable-rest-api-process-definition-id-required/96>\
**Category:** Flowable Engine\
**Created:** [November 14, 2016, 5:05pm UTC](https://forum.flowable.org/t/flowable-rest-api-process-definition-id-required/96 "2016-11-14T17:05:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nihar](https://avatars.discourse-cdn.com/v4/letter/n/da6949/32.png) [@nihar](https://forum.flowable.org/u/nihar)\
**Post date:** [November 14, 2016, 5:05pm UTC](https://forum.flowable.org/t/flowable-rest-api-process-definition-id-required/96/1 "2016-11-14T17:05:19Z")

</div>

REST API-After deployment of the bpmn file,how can i get process definition id

/flowable-rest/service/repository/deployments

can i get process definition id and other information from the deployment id.

Please share the REST API for the same.

---

<div class="post-metadata">

**Author:** ![joram](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/joram/32/26_2.png) [@joram](https://forum.flowable.org/u/joram)\
**Post date:** [November 15, 2016, 9:30am UTC](https://forum.flowable.org/t/flowable-rest-api-process-definition-id-required/96/2 "2016-11-15T09:30:44Z")

</div>

You can query process definitions using the GET repository/process-definitions API. It takes various parameters to filter, including a deploymentId. See [http://www.flowable.org/docs/userguide/index.html#\_process\_definitions](http://www.flowable.org/docs/userguide/index.html#_process_definitions) for more information.
