Displaying Webhook Response Codes To Page

This should be straight forward but I don’t seem to find the answer. How do I display the return codes to a page after the form is submitted and posted through the api.

Hi Jack. The webhook runs well after the confirmation and notifications are handled, so it’s not possible to use a return code somewhere. If you need to access an API upon submission and return a code, you may want to use the gform_pre_submission or gform_pre_validation filter:

If you need to use the Webhooks Add-On for other reasons, there is a hook that runs after the webhook response:

So you could “do something” with the return code, but updating the confirmation would still not be possible because of the order of events. If you have any other questions, please let us know.

Thank you for that, but how can i check the response code without programming? How do I troubleshoot posting issues?

Hi Jack. I don’t know of a way to do it without code. To troubleshoot issues, I recommend using the built in logging, and for any custom code you add, add your own logging statements:

Enable Gravity Forms logging:

Add your own custom logging statements:

© 2008 - 2021. Gravity Forms is a project by Rocketgenius Inc.