add ticket endpoint