This API will give you the list of segments that the user is mapped to

Language
Authorization
Header
URL
Click Try It! to start a request and see the response here!