> For the complete documentation index, see [llms.txt](https://readme.directual.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://readme.directual.com/data/import-and-export/import-api.md).

# Import API

### Import <a href="#restapi-import" id="restapi-import"></a>

API method accepts POST-request with CSV / XLS (**multipart/form-data**)

<mark style="color:green;">`POST`</mark> `https://api.directual.com/good/api/v3/struct/structureName/import?appID=appID&appSecret=appSecret`

#### Path Parameters

| Name          | Type   | Description                                  |
| ------------- | ------ | -------------------------------------------- |
| structureName | string | Structure system name                        |
| appID         | string | App ID (go to API section, API keys)         |
| appSecret     | string | API key secret (go to API section, API keys) |

{% tabs %}
{% tab title="200 " %}

```
{
  "result": {
    "insert": 10,
    "update": 1,
    "lastObjectID": "3d00ccc3-eb6a-403e-8846-961e38341b49"
  },
  "status": "OK"
}
```

{% endtab %}
{% endtabs %}

{% hint style="info" %}
Tip: Export the file, check its format, then prepare it for import.
{% endhint %}
