The webhook-endpoint resource
Section-level filtering for employee-attribute topics
When a webhook endpoint subscribes toemployee-attribute.* topics, deliveries are automatically restricted
to events whose attributes belong to HR file sections the creating OAuth client has access to. Only events
matching the client’s granted sections will be delivered.
This mirrors the section-level filtering
applied when polling events via GET /lucca-api/events.
Dependency on the linked OAuth client
A webhook endpoint is bound to the OAuth client that created it. The endpoint will be suspended or deactivated if:- its linked OAuth client is deleted; or
- the client no longer has the scopes required to access any of the topics the endpoint subscribes to — that is, it has lost scope access to every subscribed topic.
employee-attribute.* topics,
to the relevant HR file section), the endpoint stays active and only the individual non-matching deliveries are
skipped.A webhook-endpoint describes the endpoint on your side that will receive events from your Lucca account.
It must handle HTTPS and support POST requests.
It should always check the signature of received events in order to increase security.
It should respond as fast as possible (less than 3s), otherwise the server may stop sending it events.
Please refer to the webhooks documentation to learn more about webhook-endpoints.
1"webhook-endpoint"1URL of the receiving endpoint on your side. MUST use the https:// schema.
See complete list of all topics in the event definition.
Restrict events to those belonging to one of the given business-establishments. null should be interpreted as "all business establishments".
1'active': delivery attempts will be executed. 'suspended': if too many errors are encountered on delivery. Events are kept in history. 'inactive': events are neither sent nor kept in history.
active, suspended, inactive Read-only. UTC timestamp of the moment this object was created.
"2023-01-23T12:45:23.1234Z"
Read-only. UTC timestamp of the moment this object was last updated. Set upon creation, update or deletion of the object.
"2023-01-23T12:45:23.1234Z"
Related topics
Retrieve a webhook-endpointList webhook-endpointsRetrieve a webhook-delivery-attemptList webhook-delivery-attemptsList webhook-deliveries