next ticket endpoint