---
title: "Import and link landmarks, landmark groups and locations."
method: POST
path: "http://localhost:8000/{project_id}/landmarks/groups/import"
tags: ["landmarks"]
---

# Import and link landmarks, landmark groups and locations.

`POST http://localhost:8000/{project_id}/landmarks/groups/import`

Import and link landmarks, landmark groups and locations.

The passed in <data> parameter is a list of two-element lists, each
representing a group along with its linked landmark and locations. The
group is represented by its name and the members are a list of
four-element lists, containing the landmark name and the location. This
results in the following format:

[[group_1_name, [[landmark_1_name, x, y, z], [landmark_2_name, x, y, z]]], ...]

Note that this parameter has to be transmitted as a JSON encoded string.

## Path parameters

- `project_id` string, required

## Response `201`

Created

## Changes

- **2020-06-24** `80927abb02ba` — 1 info
  - endpoint added
- **2019-08-15** `2b6c094737cc` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/catmaid/apis/catmaid-api/changes/http:/localhost:8000/:project_id/landmarks/groups/import/post.md)

---

[API](https://skmtc.dev/catmaid/apis/catmaid-api.md) · [All operations](https://skmtc.dev/catmaid/apis/catmaid-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/catmaid/catmaid-api/revisions/adc1c7c5eefe/schema)
