Inserting a contact property in a webhook url

SOLVE
SteynViljoen
Member

Hello, is it possible to insert a contact property into a webhook with a workflow?

What we want to do is call an API based on certain workflow criteria where one of the contact's properties is a unique ID we'd like to insert into the webhook URL.

Thanks,
Steyn

0 Upvotes
1 Accepted solution

Accepted Solutions
IsaacTakushi
Solution
HubSpot Employee

Hi @Steyn,

To clarify, do you wish to dynamically modify the webhook URL with a custom contact property value such that each enrolled contact POSTs to a different URL?

If so, this is not currently possible. As this article mentions, POST webhooks send the entire contact object to a static endpoint. The receiving system is then responsible for parsing the JSON.

Isaac Takushi

Associate Certification Manager

View solution in original post

0 Upvotes
2 Replies 2
IsaacTakushi
Solution
HubSpot Employee

Hi @Steyn,

To clarify, do you wish to dynamically modify the webhook URL with a custom contact property value such that each enrolled contact POSTs to a different URL?

If so, this is not currently possible. As this article mentions, POST webhooks send the entire contact object to a static endpoint. The receiving system is then responsible for parsing the JSON.

Isaac Takushi

Associate Certification Manager

View solution in original post

0 Upvotes
SteynViljoen
Member

Hi Isaac, yes, that is correct.

But thanks for the help on it!

Steyn

0 Upvotes