Webhook updates include a set of HTTP headers, some of which are standard HTTP headers and some of which are Toast-specific. This section provides more details on both types.
The following table describes the Toast-specific HTTP headers included with webhook events.
Header | Description |
---|---|
|
As a security measure, all webhook messages contain
a signature in the |
|
The type of event that has occurred, for example, a
|
|
If the triggering event has occurred at a
restaurant, the GUID of that restaurant is included in the
|
|
The event category, for example,
|
In addition to the Toast-specific HTTP headers, webhook events include the standard HTTP headers shown in the table below. For more detailed information on these headers, see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers:
Header | Value |
---|---|
|
|
|
|
|
The size of the message body, in bytes. |
|
|
|
The domain name and port of the server that is listening for webhook events. Generated from the partner URI that is specified when a webhook subscription is created. |
|
|