---
title: "POST /sources/{id}/annotations/"
method: POST
path: "/sources/{id}/annotations/"
tags: ["sources", "annotations"]
---

# POST /sources/{id}/annotations/

`POST /sources/{id}/annotations/`

Create an annotation

## Path parameters

- `id` string, required

## Request body

- UpdateAnnotationRequest
  - `startTime` string — RFC3339 datetime for the start of the annotation
  - `endTime` string — RFC3339 datetime for the end of the annotation
  - `text` string — A user-facing description of the annotation
  - `color` string — Annotation color
  - `tags` object — A set of user-defined tags associated with the annotation

## Response `201`

The created annotation

- Annotation
  - `id` string — ID of the annotation
  - `startTime` string — RFC3339 datetime for the start of the annotation
  - `endTime` string — RFC3339 datetime for the end of the annotation
  - `text` string — A user-facing description of the annotation
  - `color` string — Annotation color
  - `tags` object — A set of user-defined tags associated with the annotation
  - `links` object
    - `self` string, url — Self link mapping to this resource

## Other responses

- `400` — Invalid data schema provided to server for annotation
- `default` — Unexpected internal server error

---

[API](https://skmtc.net/influxdata/apis/chronograf.md) · [All operations](https://skmtc.net/influxdata/apis/chronograf/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/influxdata/chronograf/versions/ce55d963b4ac/schema)
