Packet Webhook Example
This endpoint is an example webhook endpoint that each organization can implement in order to receive packet data. Packet data that has been decrypted for your organization will be forwarded to these webhooks.
Batching
Packets are sent in batches to minimize HTTP overhead from sending packets individually. Batch sizes are configurable per webhook endpoint. The actual number of packets per request will range between 1 and the configured max_batch_size.
Request
- Base URL: https://api.hubble.com
- URL: https://api.hubble.com/v1/webhook/testBatch
- Auth: HTTP bearer
Headers
An indication that the payload is JSON
A confidential, unique string generated for your webhook endpoint to validate that the request came from Hubble. Hubble will send this token in the HTTP header HTTP-X-HUBBLE-TOKEN when making HTTPS requests to your endpoint.
A confidential, unique string generated for your webhook endpoint to validate that the request came from Hubble.
Request body
Example request
{
"packets": [
{
"device": {
"tags": {
"_env": "production"
}
},
"gateway": {
"service_id": "fca6"
}
}
]
}Response
Message delivered.
Changes
No recorded changes to this operation across all 1 revision of this API.