Create Annotation

Add an annotation to a site's analytics timeline.

Create Annotation

Creates a new annotation on the site's analytics timeline. Useful for marking deployments, campaigns, or other notable events.

Endpoint

POST /api/v1/organizations/:orgId/sites/:siteId/annotations

Request Body

FieldTypeRequiredDescription
labelstringYesAnnotation label
occurred_atstringYesAnnotation date (ISO 8601)
descriptionstringNoOptional longer description
colorstringNoOptional color for the marker