Skip to main content

WebSocket Endpoint to Produce UserEvents

POST 

/v1/clients/ICPRODUCT/records/ws

Open a WebSocket connection to publish multiple UserEvent records to the target topic.

Up to 500 records can be provided in a single bulk call.

Request

Header Parameters

    X-REALM stringrequired
    X-API-KEY stringrequired
    X-APP-ID stringrequired
    KCL-TOPIC stringrequired

Body

array
  • Array [
  • authId number

    Target user id.

    data object

    Data associated with the event. It can receive any JSON object.

    someField string
    priority number

    Event priority (NormalPriority if not specified).

    requestId string

    The unique event identifier that is passed back to the producer if event can't be produced.

    sourceSystem string

    Event source system.

    sourceSystemId string

    Event type (unique per source system).

    createdAt date-time

    The timestamp when the event was created. Will be set to receivedAt timestamp if not specified.

  • ]

Responses

Success

Loading...