➊ 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.- Go
- Java
- Python
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:
- Go
- Java
paxos/event.go
➋ Register the Webhook via Dashboard
Log in to your Dashboard account and navigate to the Webhooks section under the Developer tab. Configure your webhook with:- Endpoint URL: Your webhook consumer endpoint URL
- Auth Type: Select your authentication method (API Key or OAuth)
-
Authentication: Configure your selected authentication method
- API Key: Provide the API Key Header name and API Key value that Paxos will include when calling your endpoint
- OAuth: Provide the OAuth endpoint URL (client_url), Client ID, and Client Secret
- Event Types: Select which event types you would like to receive and process
- Rate Limit: Set the rate limit (1-100 requests per second, default is 10 RPS)
Paxos does not currently support consumer-side signature-verification on webhook event messages. To keep things secure,
Paxos does not include the full event object in the webhook payload and requires you to make an authenticated
request to Get Event to fetch the full event object.Paxos is working on adding signature verification support for webhook messages. This documentation will be updated once this feature is available.