---
title: "Post Event"
method: POST
path: "/{host}"
---

# Post Event

`POST /{host}`

Lets you post the behavioral event.

## Request body

- object
  - `RAW_BODY` string — 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`

200

- object
  - `status` object
    - `code` integer
    - `message` string
  - `requestId` string

## Other responses

- `400` — 400

---

[API](https://skmtc.net/capillarytech/apis/sample-api.md) · [All operations](https://skmtc.net/capillarytech/apis/sample-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/capillarytech/sample-api/revisions/de241f2ed9b3/schema)
