title: How do I create a webhook for sendgrid in c#?
body: <p>I am new to using Sendgrid emails using c# .Net library. Our requirements wants us to track the status of the email like Delivered/Went to Spam/Client opened/reported as spam etc., By looking at the documentations and answers from other users to my previous questions its my understanding that there is no direct way to track the status of the email (like result object). </p>
  
  <p>It would be really helpful if someone can point me to some example/sample codes or documentation/implementation in C# for the following
  1) Adding unique parameters while sending the email using send grid API. Can I use a Guid string as my argument
     I am assuming what I am doing below is correct.</p>
  
  <pre><code>var myMessage = new SendGridMessage();
  var identifiers = new Dictionary&lt;String, String&gt;();
  identifiers["Email_ID"] = "Email_ID";
  identifiers["Email_Key"] = "9ebccd0d-67c0-4c28-bbf3-83d5bb69f098";
  myMessage.AddUniqueArgs(identifiers);           
  </code></pre>
  
  <p>2) How to use event webhooks to get the status with the unique argument that I used above from the http_post so that I can associate an email to the status. Any sample code , documentation in c# or an overall idea of how this works will get me started on this.</p>
  
  <p>Appreciate your time and answers.</p>