v1

latestOpenAPI 3.0.12026-07-24501176.6 MB

Post Event

Lets you post the behavioral event.

post/{host}

Request body

RAW_BODYstring

curl --location 'https://spd6hzcltl.execute-api.eu-west-1.amazonaws.com/eucrm/webhooks/d61233f75191444e73a577bbbd4c26eb' \ --header 'Content-Type: application/json' \ --header 'Authorization: Basic dGVzdF9kaX2OWZmZmRkYg==' \ --data '{ "age":20, "customer_id":"9933772255", "event_name":"be_reserved", "external_event_id":"RAND121", "hotel_name":"Indiranagar", "room_nights":"12", "eventDateTime":"2024-04-11 12:00:00" }'

Response

200

requestIdstring

Example response

{
  "status": {
    "code": 1100,
    "message": "Event is pushed to transformation state"
  },
  "requestId": "948d09c0-35f3-4d85-a8d5-b025caf959a6"
}