📘

NOTE

To get access to our webhooks, email [email protected].

Webhooks refers to a combination of elements that collectively create a notification and reaction system within a larger integration.

Metaphorically, webhooks are like a phone number that 7shifts calls to notify you of activity in a 7shifts account. The activity could be the creation of a new employee or a new schedule being published. The webhook endpoint is the person answering that call who takes actions based upon the specific information it receives.

Non-metaphorically, the webhook endpoint is just more code on your server, which could be written in Ruby, PHP, Node.js, etc. The webhook endpoint has an associated URL (e.g., https://example.com/webhooks). The 7shifts notifications are Event objects. This Event object contains all the relevant information about what just happened, including the type of event and the data associated with that event. The webhook endpoint uses the event details to take any required actions, such as indicating that an order should be fulfilled.