Skip to Content
Hive Streaming

Create webhook

POST
/v1/webhooks

Registers an HTTPS endpoint or a Splunk HEC collector for event session events. For HTTPS the response contains signingSecret once. Store it to verify deliveries.

Authorization

httpAuth
headerAuthorizationBearer <token>

Header Parameters

platform-id*string
tenant-id*string
Origin?string
Referer?string

Request Body

application/json
  1. body
url*string
type?string
eventTypes?array<string>
splunkHecToken?string

Response Body

application/json
  1. response
id*string
Formatuuid
url*string
type*string
eventTypes?array<string>
createdAt*string
Formatdate-time
signingSecret?string
Example Request
curl -X POST 'https://data-api.hivestreaming.com/ina/v1/webhooks' \  -H 'platform-id: string' \  -H 'tenant-id: string' \  -H 'Content-Type: application/json' \  -d '{  "url": "string"}'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "url": "string",  "type": "string",  "eventTypes": [    "string"  ],  "createdAt": "2019-08-24T14:15:22Z",  "signingSecret": "string"}