How to add an id (increments each time a new entry is posted) inside an object

Options
Hi!, i have a noob question, how do can i insert an id (similar to the one that all database tables have) inside of an object? is there a way to make this organically instead of using post requests?

Comments