Skip to main content
POST
Create geotagging zone

Authorizations

Authorization
string
header
required

Use a valid Bearer token to authenticate.

Body

application/json
name
string
required

Zone name, unique within the hub. Example: North Jakarta

hubId
string
required

Hub of the zone.

geoTaggingCoordinate
string[]
required

Polygon points as "latitude,longitude". At least 3. Example: ["-6.1,106.8", "-6.1,106.9", "-6.2,106.9"]

Minimum array length: 3
color
string
required

Display color. Example: #1E88E5

isActive
boolean
required

Only active zones are used by route optimization.

Response

Success

status
boolean

Status of response.

message
string

Message of API response.

data
object

Created zone.