AnsweredAssumed Answered

Using Marketo Tokens in Webhook Header

Question asked by Burhan R on Apr 10, 2019
Latest reply on Apr 11, 2019 by Sanford Whiteman

Hi,

 

Im trying to use a marketo token as a value for one of my parameters in my header. For example; I have a webhook that calls and endpoint and returns and auth token as response which I map to lead field (because Marketo only allows me to map response to fields and not program tokens). I then use another webhook to make a POST request to another API endpoint and pass that field with the auth token as header. But when I run my campaign the second webhook fails and returns unauthorised because the value of the token is not being populated. Is there a way to see the output of the headers? I cant see that in the campaign results.

 

Here is an example fo my token. (assuming the auth token is the lead middle name field)

 

 

Is this the correct way to pass marketo token to headers in marketo? Why is it not populating with the value? (FYI - I tried directly entering a value instead of using tokens and the webhook fired successfully)

Outcomes