Referencing My Tokens (custom tokens) from a Program and using them in Webhook call | Community
Skip to main content
Aug 29, 2017 2:20 AM UTC
Solved

Referencing My Tokens (custom tokens) from a Program and using them in Webhook call

Hi,

Is it possible to use My Tokens created in a Program in a webhook call?

Would appreciate if someone can share on how this can be done.

Thanks ~

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
rachel2-2Accepted solution
Level 8
Aug 29, 2017 5:43 PM UTC

You shouldn't be able to see it, because its very existence depends on where you call the webhook from.

But it clearly works.


to Sanford's point: just type in {{my.CampaignEndDate}}, set a default if you want, and (of course) make sure you only use the webhooks in programs with that token. They won't show up in the drop-down because the webhook isn't built inside the program.

4 replies

SanfordWhiteman
Level 10
Aug 29, 2017 2:25 AM UTC

Yes, do it all the time. You didn't try it?

Translate
Aug 29, 2017 2:52 AM UTC

I can't see my tokens in webhook dropdown.

In my attached snapshot above, I have a program token "CampaignEndDate" and that I can't see in the webhook.

Translate
SanfordWhiteman
Level 10
Aug 29, 2017 3:29 AM UTC

You shouldn't be able to see it, because its very existence depends on where you call the webhook from.

But it clearly works.

Translate