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

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