In wordpress each post, page or custom post type have an univocal 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:
http://example.com/wp-admin/post.php?post=1280&action=edit