How to get SalesForce Profile ID for lightning:

Go to SalesForce Setup

Go to Administration, open profiles category and click on profile. On the list that will open, click on your profile.

Your Profile ID is on the URL, after “%2F“, in this case is 00e5Y0000031ca1.

Did this answer your question?