Add API endpoint for adding phrases