Test webhook registration with request logging site

Before you create or configure a service to consume web hooks, you should test what kind of data the service will receive so that you can know what kind of data you will need to process. For this purpose, you can use one of several request logging sites. For the purpose of this example, we will use Webhook Tester to configure a target for the webhook requests. Use the following steps:

  1. Go to https://webhook.site. In the top right-hand corner you will see a green Copy button. Webhook Tester copy button

  2. Use the Copy button to copy the URL. Keep this page open.

  3. Use the plugin registration tool to register a new webhook as described in Register a web hook.

    1. Use the URL you copied in step 2 as the Endpoint URL.
    2. Set a name and any authentication properties you want. Webhook Tester will not evaluate these values in the way that an actual site that will process the data should, but you can see how they will be passed through.
  4. Use the plugin registration tool to register a step using the webhook you created in step 4 as described in Register a step for a webhook.

    1. Make sure to use an event that you can easily perform by editing data in the Common Data Service application, such as updating a contact entity.
  5. Use the Common Data Service app to perform the operation to trigger the event.

  6. After you trigger the event, return to the Webhook Tester page from step 2. You should see that the page has been updated to show the data passed in the request:

    An example of the request logged on the Webhook Tester web site

    Tip

    Use the Format JSON option to make the JSON returned in the body of the request easier to read.

Next steps

Use webhooks to create external handlers for server events

See also

Register a webhook