POST /import-callback is an async flow (KMZ parsing, validation, saving metadata takes some time). Clients poll via this API to check whether import is completed or failed.curl --location '/openapi/v2.0/wayline/api/v1/workspaces//wayline-import-state?request_id=undefined' \
--header 'x-user-token;' \
--header 'x-user-token;' \
--header 'X-Project-Uuid;' \
--header 'X-Request-Id;' \
--header 'X-Request-Id;'{
"code": 0,
"message": "Ok",
"data": {
"request_id": "req-uuid-001",
"state": 2,
"code": 0,
"with_megaphone": false,
"with_search_light": true,
"target_area_key": "org-uuid/wayline/target-area-001"
}
}