---
title: "Creates an event against the given contact id."
method: POST
path: "/Entity/ContactEvent"
tags: ["Entity"]
---

# Creates an event against the given contact id.

`POST /Entity/ContactEvent`

All id fields must match valid reference data from the /Reference methods.
            
The EventDirection must be either 'In' or 'Out'.
            
The EventType is the name of the Event Type returned by /Reference/EventTypes.

## Query parameters

- `id` integer, required

## Request body

- EventsRequest
  - `ConsultantId` integer
  - `Direction` 'None' | 'In' | 'Out'
  - `EventType` 'Phone' | 'Email' | 'SMS' | 'Post' | 'Fax' | 'Meeting' | 'LinkedIn' | 'Facebook' | 'Skype' | 'IMS' | 'Information' | 'Other' | 'WhatsApp' | 'TeamsMeeting'
  - `EventActionId` integer
  - `EventDetails` string, nullable

## Response `200`

OK - Created ID

- integer

## Other responses

- `400` — BadRequest
- `401` — Unauthorized
- `404` — NotFound

---

[API](https://skmtc.net/vslcloud/apis/infinity-api.md) · [All operations](https://skmtc.net/vslcloud/apis/infinity-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vslcloud/infinity-api/versions/4f3524b28330/schema)
