add send() endpoint