- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 516
 
Integrations
        Blake Niemyjski edited this page Oct 10, 2019 
        ·
        4 revisions
      
    - Go to Admin - Projects - Edit - Integrations - Add Web Hook
 - Enter a URL for your integration and an event for which it should fire.
 - When selected event types happen, a POST request will be submitted with either an event data or a stack data (depending on selected event types) in json format.
 
Here's a sample of the data that will be posted.
Below is a sample MVC Controller implementation of how you could consume this data. Your implementation will obviously vary based on your development stack.
[HttpPost]
public void Integration()
{
    Stream request = Request.InputStream;
    request.Seek(0, System.IO.SeekOrigin.Begin);
    string json = new StreamReader(request).ReadToEnd(); 
}