Skip to main content

Webhooks & Webhook Logs

Written by Apurva Tiwari

Overview

Webhooks allow Affnook to automatically send real-time event notifications to an external URL when a specific event occurs. They can be used to integrate Affnook with external systems and automate workflows based on supported events and resources.

The Webhook Logs section allows you to monitor webhook activity, review delivery attempts, and troubleshoot webhook-related issues.

Accessing Webhooks

To access Webhooks:

Dashboard → Automation → Webhook

From this section, you can view existing webhooks, create new webhooks, and manage their configuration.

Creating a Webhook

To create a new webhook:

  1. Navigate to Automation → Webhook.

  2. Click Create Webhook.

  3. Enter the required webhook details.

  4. Configure the event and resource.

  5. Set the webhook status.

  6. Click Submit.

Webhook Configuration

Field

Description

URL

Enter the endpoint URL where Affnook should send the webhook payload.

Event Type

Select the event that should trigger the webhook.

Resource

Select the resource associated with the webhook event.

Secret Key

Enter a secret key to help secure and validate webhook requests.

API Key

Enable this option if the webhook endpoint requires API key authentication.

Status

Select the webhook status. Set it to Active to enable the webhook.

Once all required details are configured, click Submit to create the webhook.

Webhook Logs

Webhook Logs provide visibility into webhook requests sent by Affnook. You can use these logs to verify webhook activity, review delivery attempts, and troubleshoot issues.

To access Webhook Logs:

Dashboard → Automation → Webhook Logs

Filtering Webhook Logs

You can select a date range and apply additional filters to narrow down the webhook logs.

Filter

Description

URL

Enter or select a webhook URL to view logs associated with that endpoint.

Status

Select a status to filter logs based on their delivery status.

Resource

Select a resource to view logs associated with that resource.

Event

Select an event to view logs triggered by that event.

After selecting the required date range and filters, click Search to display the matching webhook logs.

Best Practices

Ensure that the webhook URL is accessible and configured to receive the selected event payloads. Keep the Secret Key and API Key secure, and regularly review Webhook Logs to identify failed or unexpected webhook requests.


We are delighted to have assembled a world-class team of experienced professionals who are ready to take care of your queries and answer any questions you may have. Feel free to reach out to us at anytime by emailing us at [email protected] or by using the in-platform chat feature. We'd love to hear from you!

Did this answer your question?