Create circle annotation

Create circle annotation

In this article, you will learn how to create circle annotation.

Create circle annotation

Request Type: POST
Header: Authorization: ApiKey <my_api_token>
URL: https://app.banyanboard.com/api/annotation_groups/<my_annotation_group_uuid>/annotations/

Payload:
Info
{
  "fill_color": "transparent",
  "path": "M 150 150 m -150 0 a 150 150 0 1 0 300 0 a 150 150 0 1 0 -300 0",
  "stroke_color": "#ffc107",
  "stroke_width": 4,
  "top_left_x": "360.50",
  "top_left_y": "120.75",
  "text": "",
  "text_fontsize": 0,
  "type": "circle",
  "width": "300.000",
  "z_index": 1
}

Results:
Info
{
  "date_created": "2026-03-28T13:55:42.123456Z",
  "fill_color": "transparent",
  "height": "300.000",
  "path": "M 150 150 m -150 0 a 150 150 0 1 0 300 0 a 150 150 0 1 0 -300 0",
  "stroke_color": "#ffc107",
  "stroke_width": 4,
  "top_left_x": "360.500",
  "top_left_y": "120.750",
  "text": "",
  "text_fontsize": 0,
  "type": "circle",
  "was_edited": true,
  "uuid": "d9a1b2c3-4e5f-4789-9abc-1d2e3f4a5b6c",
  "width": "300.000"
}