Contentful logo

Contentful Community

How to get the version of an entry?

Hi! I’m using curl to update an entry and keep getting 409 version mismatch error. I searched on the website and I need to set X-Contentful-Version of the entry in the header. However when I look into the data I received through fetching, I only get revision id but not version id. Could someone help me on that? Thank you.