Skip to main content
PATCH
Change an annotation

Authorizations

Authorization
string
header
required

A project key (Developers → API keys). Keep it on your server, not in an app.

Headers

traceparent
string

W3C Trace Context; joins your trace to ours

Idempotency-Key
string
required

A retry with the same key and body returns the first response

Required string length: 1 - 255

Path Parameters

id
string
required

An annotation ID, starting with ann_.

Body

application/json
day
string<date>

The new day; left out, the day stays.

text
string

The new text; left out, the text stays.

Required string length: 1 - 140

Response

Change an annotation

A short note on one day, shown on charts.

id
string
required

An annotation ID, starting with ann_.

Pattern: ^ann_[0-7][0-9a-hjkmnp-tv-z]{25}$
day
string<date>
required

The calendar day, such as 2026-11-12. No time and no time zone.

text
string
required

One short sentence, 1 to 140 characters, such as “Version 2.4 released”. Don’t put personal data in it.

Required string length: 1 - 140
created_by
string
required

Who wrote it: member: or key: followed by an ID, never a name.

Pattern: ^(member|key):.+$
created_at
string<date-time>
required

When it was created: UTC, ISO 8601

updated_at
string<date-time>
required

When it last changed: UTC, ISO 8601