added generic endpoint for sending texts