Create Chart Annotation
POST https://amplitude.com/api/2/annotations?app_id=&date=&label=&chart_id=&details=
Create Annotation
Creates an annotation with the specified parameters.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
app_id | null | Required. The Project ID of the project your chart belongs to. | |
date | null | Required. Date (YYYY-MM-DD) of the annotation. | |
label | null | Required. The title of your annotation. | |
chart_id | null | Optional. The ID of the chart (found in URL) to annotate. If you do not include a chart_id, the annotation is global. | |
details | null | Optional. Additional details for the annotation. |
RESPONSES
status: OK
{"success":true,"annotation":{"id":160418,"date":"2021-09-01","label":"First September","details":""}}