Get a webhook event
Retrieve a business notification event and its immutable payload by ID and version.
Required permissions: notification_event:read.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
notification_event_id
The ID of the notification event.
Headers
X-Penny-As-Business
Act on behalf of another business that has granted you access. Requires the business:act_as permission.
Query parameters
version
Resource version to return; 0 returns the latest.
Response
The webhook event.
notification_event_id
Penny's unique identifier for this event.
version
A number that increases each time this event's record changes. Use it to confirm you are looking at the latest information.
version_time
The date and time this event's record was last changed.
business_id
The business this event belongs to.
type
The notification event type. This identifies the specific occurrence represented by the event.
category
The category of content carried by this event, such as an object change, alert, or message.
Allowed values:
event_time
When this event was generated.
occurrence_time
When the underlying occurrence took place.
payload
The event exactly as it is delivered to a subscribed endpoint.
source_business_id
The business this event originated from, if different from the receiving business.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error