If you go to the project settings page, you can see the ID in the URL.
Also, you can find them by looking at the network tab when creating a feature in the browser. Create a new flag and then look at the inspector.