---
title: "Create a new candidate event"
method: POST
path: "/v0/candidates/{candidate_id}/events"
tags: ["Candidate Events"]
---

# Create a new candidate event

`POST /v0/candidates/{candidate_id}/events`

## Request

- Base URL: `https://api.gem.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gem.com/v0/candidates/{candidate_id}/events`
- Auth: none declared

Returns the newly created event object.
**NOTE**: only `manual_touchpoints` type event can be created currently.
**NOTE**: an `inmail` event for a candidate with a pending InMail stage in a sequence
marks that stage as sent, and the response is the `sequences` event for that send.

## Request body

- CandidateEvent1
  - `candidate_id` string, ObjectID
  - `timestamp` integer, required
  - `user_id` string, ObjectID, required
  - `on_behalf_of_user_id` string, ObjectID, nullable
  - `project_id` string, ObjectID, required
  - `sequence_id` string, ObjectID, required
  - `type` 'sequences' | 'sequence_replies' | 'manual_touchpoints', required
  - `subtype` 'first_outreach' | 'follow_up' | 'reply', required
  - `contact_medium` 'inmail' | 'phone_call' | 'text_message' | 'email' | 'meeting' | 'li_connect_request', required
  - `reply_status` unknown

## Response `201`

Created

- CandidateEvent
  - `id` string, ObjectID
  - `candidate_id` string, ObjectID
  - `timestamp` integer, required
  - `user_id` string, ObjectID, required
  - `on_behalf_of_user_id` string, ObjectID, nullable
  - `project_id` string, ObjectID, required
  - `sequence_id` string, ObjectID, required
  - `type` 'sequences' | 'sequence_replies' | 'manual_touchpoints', required
  - `subtype` 'first_outreach' | 'follow_up' | 'reply', required
  - `contact_medium` 'inmail' | 'phone_call' | 'text_message' | 'email' | 'meeting' | 'li_connect_request', required
  - `reply_status` unknown

## Other responses

- `422`: Unprocessable Content
- `default`: Default error response

---

[API](https://skmtc.dev/gem/apis/gem-crm-api.md) - [All operations](https://skmtc.dev/gem/apis/gem-crm-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gem/apis/gem-crm-api/revisions/50a984e3c2b5?raw)
