add endorse endpoint