Can we get the webhook logs/responses?

hi,
i have created a webhook which notifies our systems when there is change in ticket status.
i wanted to see the responses the webhook receives when notifying our systems .

is it possible to get the webhook logs/responses ??

@Freddy can we see the webhook responses?

Yes, it is possible to check webhook logs and responses. To see the webhook responses, you’ll need to access the platform or service where the webhook is set up. Most platforms that support webhooks usually provide logging features or dashboard tools to help diagnose issues and monitor webhook activity. Check the documentation of the platform you are using to find out how to access the webhook logs.

Alternatively, you can set up your own logging system on the receiving server that processes webhook notifications. This way, you can log the requests and responses of each received webhook event and analyze the data according to your needs. Implementing this depends on the programming language used and the specific requirements of your system.

@Gopi @Freddy we are using freshdesk .

In Freshdesk, you can find webhook logs and responses under the “Logs” section in the “Automations” area. Here’s how you can access the logs in Freshdesk:

  1. Log in to your Freshdesk account with the necessary administrative privileges.
  2. Once logged in, click on the Admin icon (cogwheel symbol) located in the lower-left corner of the screen.
  3. Under the “Helpdesk Productivity” section, click on the “Automations” option.
  4. In the “Automations” area, you’ll find a “Logs” tab towards the upper-right corner of the page. Click on it.
  5. This will display logs related to webhook events, including the request and response details.

You can use these logs to diagnose any issues and monitor the webhook notifications in Freshdesk. Keep in mind that the logs are stored for a limited time, typically around 30 days.

For further guidance, visit the Freshdesk documentation or contact their support team if you encounter any issues.

@Freddy @Gopi
i don’t find it in either webhook or automations , here are the screenshots


I apologize for the confusion earlier. It appears that Freshdesk does not show webhook logs directly in their interface. In this case, you have a couple of options to monitor webhook logs and responses:

  1. External Logging Tools: You can use external logging tools like Loggly or Papertrail to collect logs from your application or server. You’ll need to configure your webhook receiver to send logs to these services. Once set up, you can monitor webhook logs and responses using these tools.

  2. Logging on the Receiving Server: As mentioned before, you can implement logging on your own server where webhook notifications are being processed. You can store request and response data in log files or a database, depending on your requirements and server setup. The implementation will depend on the programming language and framework you are using on your server.

Whichever option you choose, always remember to properly sanitize and protect sensitive data before storing or sharing logs.

@Freddy @Gopi can freshdesk support provide the logs ?
does freshdesk stores the logs ?

external system is receiving the notifcations but we got a ticket from freshdesk stating the webhook is receiving 403 as status code. we have authorization on the request . but the request is correct . so we want to see at wat time the request failed

Freshdesk Support might provide some assistance in investigating issues related to webhooks, but it’s unclear whether they can provide specific logs directly. It’s worth reaching out to their support team to check if they can help in your situation.

To contact Freshdesk Support, you can submit a request through the following methods:

  1. Visit Support : Freshdesk and click on the “New Support Ticket” button in the upper-right corner.
  2. Fill in the required details to submit a support ticket. Be sure to mention your issue with webhooks and your interest in accessing logs for a specific request failure.
  3. Alternatively, you can email them directly at support@freshdesk.com.

When contacting Freshdesk Support, provide as much information as possible, including the time frame when the request failed and any relevant details about your webhook configuration. This will assist the support team in investigating your issue more efficiently.

Additionally, keep in mind that it’s essential to check the server logs on your own system, as these logs can help in identifying any issues with the incoming webhook request or your server’s response (such as the 403 status code). It might provide more insight into the problem, and potentially resolve the issue without needing to contact Freshdesk Support.

@Marri_Sri_Rahul_Sidd ,

Could you please try the same in the postman and check the response from the external system.

@Gopi it’s not throwing any 403 as status code .

@Marri_Sri_Rahul_Sidd Could you review the logs in your external system to check the response it returns when the API is triggered from Freshdesk?

@Gopi okay checking that