---
title: "POST /createTimelineEvent"
method: POST
path: "/createTimelineEvent"
---

# POST /createTimelineEvent

`POST /createTimelineEvent`

Creates a custom timeline event on the incident details page of an incident record. Incident Manager automatically creates timeline events that mark key moments during an incident. You can create custom timeline events to mark important events that Incident Manager can detect automatically.

## Request body

- object
  - `clientToken` string — A token that ensures that a client calls the action only once with the specified details.
  - `eventData` string, required — A short description of the event.
  - `eventReferences` EventReference[] — Adds one or more references to the <code>TimelineEvent</code>. A reference is an Amazon Web Services resource involved or associated with the incident. To specify a reference, enter its Amazon Resource Name (ARN). You can also specify a related item associated with a resource. For example, to specify an Amazon DynamoDB (DynamoDB) table as a resource, use the table's ARN. You can also specify an Amazon CloudWatch metric associated with the DynamoDB table as a related item.
    - `relatedItemId` string — The ID of a <code>RelatedItem</code> referenced in a <code>TimelineEvent</code>.
    - `resource` string — The Amazon Resource Name (ARN) of an Amazon Web Services resource referenced in a <code>TimelineEvent</code>.
  - `eventTime` string, date-time, required — The time that the event occurred.
  - `eventType` string, required — The type of event. You can create timeline events of type <code>Custom Event</code>.
  - `incidentRecordArn` string, required — The Amazon Resource Name (ARN) of the incident record that the action adds the incident to.

## Response `201`

Success

- CreateTimelineEventOutput
  - `eventId` string, required — The ID of the event for easy reference later.
  - `incidentRecordArn` string, required — The ARN of the incident record that you added the event to.

## Other responses

- `480` — ThrottlingException
- `481` — ResourceNotFoundException
- `482` — AccessDeniedException
- `483` — ValidationException
- `484` — ConflictException
- `485` — InternalServerException

---

[API](https://skmtc.net/aws/apis/ssm-incidents.md) · [All operations](https://skmtc.net/aws/apis/ssm-incidents/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/ssm-incidents/versions/18d598f1fa32/schema)
