2 Replies Latest reply on Dec 15, 2016 6:11 PM by Dan Perrin

    Webhooks, Tokens and Quotation markers

    Dan Perrin

      Hello,

      I'm new to Marketo.

       

      I've created a webhook to our API. The webhook works as expected. However, when I include token fields, then Marketo seems to automatically include "quotes" around the rendered output. This breaks our JSON REST submission.

       

      Eg:

      {"message":"Hello there,  how are you?"}

      This works fine

       

      However:

      {"message":"Hello there {{lead.First Name:default=edit me}}, how are you?"}

       

      Produces

      {"message":"Hello world "Dan", how are you?"}

       

      The extra quotes breaks the JSON structure. How can I work around this?

       

      Any help would be much appreciated.

       

      Thanks,

       

      Dan