adds send endpoint