Receive OPX webhooks notifications
Our system uses webhooks to notify external applications about important events occurring within our application.
They offer a simple and efficient way to receive real-time notifications when specific events happen in the OPX application. Instead of constantly polling our API to check for changes, webhooks allow your application to be instantly notified.
worksite_documents_controlled
This webhook is triggered when all documents related to a worksite have been reviewed and validated.
worksite_documents_generated
This webhook is triggered when a new document is generated for a worksite.
worksite_status_changed
To start receiving webhooks, you must contact the OPX technical team. Two pieces of information will be required:
To correctly receive webhooks, your endpoint must:
Signature
header.Each webhook request includes a Signature
header, which allows you to verify that the request was sent by OPX and not altered during transit.
The signature is generated using the HMAC-SHA256 algorithm with your Secret key, and is computed over the raw body of the HTTP request.
Code example in php:
java:
If your endpoint doesn’t respond within 3 seconds or responds with an error code, our system will implement a retry strategy:
Receive OPX webhooks notifications
Our system uses webhooks to notify external applications about important events occurring within our application.
They offer a simple and efficient way to receive real-time notifications when specific events happen in the OPX application. Instead of constantly polling our API to check for changes, webhooks allow your application to be instantly notified.
worksite_documents_controlled
This webhook is triggered when all documents related to a worksite have been reviewed and validated.
worksite_documents_generated
This webhook is triggered when a new document is generated for a worksite.
worksite_status_changed
To start receiving webhooks, you must contact the OPX technical team. Two pieces of information will be required:
To correctly receive webhooks, your endpoint must:
Signature
header.Each webhook request includes a Signature
header, which allows you to verify that the request was sent by OPX and not altered during transit.
The signature is generated using the HMAC-SHA256 algorithm with your Secret key, and is computed over the raw body of the HTTP request.
Code example in php:
java:
If your endpoint doesn’t respond within 3 seconds or responds with an error code, our system will implement a retry strategy: