# There are 2 IDs when I try to get API, in case of lack documentation

**URL:** <https://meta.discourse.org/t/there-are-2-ids-when-i-try-to-get-api-in-case-of-lack-documentation/214844>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [January 14, 2022, 11:07am UTC](https://meta.discourse.org/t/there-are-2-ids-when-i-try-to-get-api-in-case-of-lack-documentation/214844 "2022-01-14T11:07:50Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![cmdntd](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cmdntd/32/192008_2.png) [@cmdntd](https://meta.discourse.org/u/cmdntd)\
**Post date:** [January 14, 2022, 11:07am UTC](https://meta.discourse.org/t/there-are-2-ids-when-i-try-to-get-api-in-case-of-lack-documentation/214844/1 "2022-01-14T11:07:50Z")

</div>

> I try to do like Sam’s instruction at [How to reverse engineer the Discourse API](https://meta.discourse.org/t/how-to-reverse-engineer-the-discourse-api/20576)  
> But it display 2 IDs, and it makes me do not know how to do next

When I tried to update private message, it has different 2 IDs:

1. ID of private message
2. ID with bigger number (like a ID for edit private message)

 ![6jLZwKRZd3](https://global.discourse-cdn.com/meta/original/3X/d/e/de196de5f6187c4c0cd01b28d9d083d2cff4acbd.png)

When I test to send PUT request, ID of private message just can change title. And can not change message details by “raw”

**It seems message details must change by new edit ID**  
**And I do not know how to get the second ID of the post (1846 in image)**

Could you explain for this issue?

---

_[View the full topic](https://meta.discourse.org/t/there-are-2-ids-when-i-try-to-get-api-in-case-of-lack-documentation/214844)._
