---
title: "Make an import the workspace's directory"
method: POST
path: "/v1/parties/directory/imports/{id}/activate"
tags: ["Contract Party Management"]
---

# Make an import the workspace's directory

`POST /v1/parties/directory/imports/{id}/activate`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/parties/directory/imports/{id}/activate`
- Auth: HTTP bearer

The loading import becomes the active directory; the previous one is replaced and its entries go. Parties are linked to the new directory and every contract row is filled again in the background, so the status reports syncing until that pass ends. Needs a person with the `ingest` permission.

## Path parameters

- `id` string, uuid, required

## Response `201`

The active directory.

- object
  - `id` string, uuid
  - `companies` integer
  - `contacts` integer

## Other responses

- `400`: The request is invalid.
- `401`: Missing or invalid API key.
- `403`: The key lacks the `write` scope, or its person lacks the `ingest` permission.
- `404`: The requested resource was not found.
- `409`: The import is no longer loading, holds no company and no contact, or another directory was activated at the same moment.

## Changes

- **2026-11-26** `622d429de7ea`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/parties/directory/imports/:id/activate/post.md)

---

[API](https://skmtc.dev/talonic/apis/talonic-api.md) - [All operations](https://skmtc.dev/talonic/apis/talonic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/talonic/apis/talonic-api/revisions/9f6d53e2ab5e?raw)
