Configuration of Webhooks.
You can set up your webhook by going to the application Tools / Integrations / Webhooks in the portal.
You must provide the URL
of your webhook and select at least one event in order to enable the synchronization.
You may optionally provide a username
and password
for authentication. Providing a username
and password
will set Basic authorization
but if you only provide a username then that will be the value of the Bearer
authentication header. For example, if you enter the value “3PvwJaEg” in the username
field and leave the password empty, the following header will be a part of each webhook request: Authorization: Bearer 3PvwJaEg
.
You can also set conditions (in JSON format) based on certain values. For example, if you only want to sync contacts if/when they have the “special” tag applied, you can enter the following in this field: { "flags": "special" }
.