In wordpress each post, page or custom post type have an univocal ID.
Get the ID
Go to Posts, Pages or Custom Post Type in your WordPress admin, and click the post you need the ID of. Then, if you look in the address bar of your browser, you’ll see something like this:
The number, in this case 1280, is the post ID.