# Different between objectId and id in graphql

**URL:** <https://community.parseplatform.org/t/different-between-objectid-and-id-in-graphql/2122>\
**Category:** GraphQL API\
**Tags:** discussion\
**Created:** [October 27, 2021, 1:29pm UTC](https://community.parseplatform.org/t/different-between-objectid-and-id-in-graphql/2122 "2021-10-27T13:29:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ptthien1012](https://community.parseplatform.org/user_avatar/community.parseplatform.org/ptthien1012/32/313_2.png) [@ptthien1012](https://community.parseplatform.org/u/ptthien1012)\
**Post date:** [October 27, 2021, 1:29pm UTC](https://community.parseplatform.org/t/different-between-objectid-and-id-in-graphql/2122/1 "2021-10-27T13:29:37Z")

</div>

Hi Guys I’m confused between ObjectId and id when using Graphql. I had found but didn’t see any answer and remained on the document. Thanks for help

---

<div class="post-metadata">

**Author:** ![davimacedo](https://community.parseplatform.org/user_avatar/community.parseplatform.org/davimacedo/32/316_2.png) [@davimacedo](https://community.parseplatform.org/u/davimacedo)\
**Post date:** [October 28, 2021, 2:24am UTC](https://community.parseplatform.org/t/different-between-objectid-and-id-in-graphql/2122/2 "2021-10-28T02:24:17Z")

</div>

ObjectId is the regular Parse id for objects (the same one that you see on Parse Dashboard). Id is generated encoding the combination of the ClassName + ObjectId. It works as a global id since it does not only have the information of the object id, but also the class to which the object belongs. This global id was included to turn the API Relay Server compliant.

---

<div class="post-metadata">

**Author:** ![ptthien1012](https://community.parseplatform.org/user_avatar/community.parseplatform.org/ptthien1012/32/313_2.png) [@ptthien1012](https://community.parseplatform.org/u/ptthien1012)\
**Post date:** [October 28, 2021, 7:08am UTC](https://community.parseplatform.org/t/different-between-objectid-and-id-in-graphql/2122/3 "2021-10-28T07:08:12Z")

</div>

Thank you sir \<3 \<3 \<3
