Return popup details in API.