I\'m trying to understand how I will be able to craft an API using ASP.NET Web API which will be protected from CSRF, while still being accessible from non-web environments (e.g
Have a look at the SPA templates in the latest MVC4 update. They have a sample implementation for Anti-CSRF for Web API.