/organizations/{organization_id}/sites/{site_id}/workspaces/{workspace_id}/shapes

Beta Notice: This is a pre-release beta endpoint. It is subject to change without notice and has no uptime guarantee.

Creates a new shape in the workspace.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

ID of the organization

string
required

ID of the site

string
required

ID of the workspace

Body Params

Request body for creating a shape. Provide the shape's identity, geometry, and the dataset it belongs to.

string | null

The id of the dataset this shape belongs to. Omit (or pass null) to create the shape at site level (visible across all datasets on the site).

string
enum

The source of a shape or measurement

Allowed:
styled_geometry
required

The shape's geometry and visual styling (fill/stroke colours, labels, icons). Coordinates must be in the site's local CRS.

string
required

The shape's display name.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json