Reorganize the Segment.io endpoint