This site has been archived. Please visit help.fulcrumapp.com for our new support documentation and contact information.

Fulcrum Webhooks in PHP

Mhodson's Avatar

Mhodson

10 Nov, 2014 05:10 PM

Hi,

I am trying to implement a fulcrum webhook endpoint using a PHP webserver. I am able to get notifications whenever a record has been updated.

As far as I can tell, these notifications have no data about what kind of event has happened or the details about that event. I am trying to fetch the data from the $_POST or $_REQUEST array but they are coming in empty. Furthermore, I was able to dump the incoming URL into my DB and it is just the URL of my webhook, there is no appended data to the URL.

What am I doing wrong here?

Thanks,
Matt

  1. 1 Posted by Bryan McBride on 10 Nov, 2014 10:15 PM

    Bryan McBride's Avatar

    Hi Matt,

    Please refer to the developer documentation for detailed information regarding webhook event types. I've put together a basic PHP webhook endpoint for you to examine here: https://gist.github.com/bmcbride/c9ca94a0b2ba74d93928. Hopefully this will get you on the right track. Let me know if you continue to have issues and feel free to share your code so we can try to help you debug.

    -Bryan

  2. Bryan McBride closed this discussion on 26 Oct, 2015 01:18 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac