Add endpoints index, callback