SOLVED

Using Webhooks to Pass/Parse JSON

Go to solution
Anonymous
Not applicable

Using Webhooks to Pass/Parse JSON

We are attempting to use Webhooks to call  out to our Scribe Online REST endpoint. We can successfully see it calling our webservice with a POST command, but, there appears to be nothing in the payload. We’ve tried lots of different templates for the payload, and still nothing seems to be working. We do see our service being called successfully, just with no parameters passed over. On the other side, we are passing back a JSON reply with some data, but, this does not appear to be parsing properly to get to the Lead record in Marketo. I’ve poured over the develop site to try to find some JSON examples but it all appears to either be XML or Form/URL. If anyone has some details around the expected JSON format Marketo needs I'd really appreciate it! I can see the Payload and Reply in the Activity Log, just nothing from our web service. 
Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Re: Using Webhooks to Pass/Parse JSON

Documentation is available at http://developers.marketo.com/documentation/webhooks/.  I'd test that the request has the right params with a service like https://requestbin.herokuapp.com/ and log an issue if you are unable to figure it out.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Re: Using Webhooks to Pass/Parse JSON

Documentation is available at http://developers.marketo.com/documentation/webhooks/.  I'd test that the request has the right params with a service like https://requestbin.herokuapp.com/ and log an issue if you are unable to figure it out.
Anonymous
Not applicable

Re: Using Webhooks to Pass/Parse JSON

Raj thank you so much, using that Request service and http://requestmaker.com/ I was able to figure out what I needed to add to the Header to get this working. I assumed wrongly that by setting the Request type to JSON inside the Webhook setup that it would set the Content-Type to application/json...I was wrong, and this resolved my issue. Thanks again!!