➊ Create a Webhook Consumer
To receive Paxos events, set up your webhook consumer that receives events as an HTTP/HTTPS POST endpoint using your language and tools of choice.paxos_webhook_consumer.go
We are currently working on providing client libraries for the Paxos event object. In the meantime, please directly use the definition below:
paxos/event.go
➋ Test the Consumer Locally
While we work on a CLI for testing your consumer locally, please directly test with the provided sample event payload below and
reach out to Support should you require any further assistance setting up your consumer.
id
) provided in the above payload.
Webhook Payload Format
Parameter | Description | Example |
---|---|---|
id | The unique identifier of the event. This id can be used to fetch the full details of the event from the Events API. | bd019f1c-89a7-4372-9d21-eaad9280dc41 |
type | The type of the event. More details about available event types can be found on the corresponding events page, such as Identity Events. | identity.disabled |
source | The source of the event. This will always be com.paxos . | com.paxos |
time | The time the event was created. Formatted according to RFC3339 date-time. | 2025-01-01T14:30:02Z |
object | The object type of the event. This will always be event . | event |
➌ Secure the Consumer
You must secure your consumer’s endpoint by authenticating using either:- API Key, a secret key we will include in the header when calling your webhook consumer endpoint. You will need to let us know the API Key Header and the API Key.
- OAuth, we will call your OAuth client using the provided client id / key to receive credentials to call your endpoint. You will need to provide us with the OAuth endpoint URL and the Client ID and the Client Secret.
We do not currently support consumer-side signature-verification on our webhook event messages. To keep things secure,
we therefore do not include the full event object in the webhook payload and require you to make an authenticated
request to Get Event in order to fetch the full event object.
➍ Register the Consumer
We’re working on supporting self-service registration in Dashboard, in the meantime please contact Support to initiate webhook registration. You’ll need to let us know:- Which event types you would like to receive and process
- Your webhook consumer endpoint URL
- The authentication method of your webhook consumer
- The environment (Sandbox or Prod) you would like to integrate with