- Add segments endpoint