---
title: "Imports a given identity."
method: POST
path: "/identities-import"
tags: ["Identities"]
---

# Imports a given identity.

`POST /identities-import`

Imports a given identity returning it is a blob of text which can later be used to import it back.

## Request body

- IdentityImportRequest
  - `current_passphrase` string
  - `data` integer[]
  - `new_passphrase` string
  - `set_default` boolean — Optional. Default values are OK.

## Response `200`

Unlocked identity returned

- IdentityRefDTO
  - `id` string, required — identity in Ethereum address format

## Other responses

- `400` — Failed to parse or request validation failed
- `422` — Unable to process the request at this point
- `500` — Internal server error

---

[API](https://skmtc.net/mysteriumnetwork/apis/tequila-api.md) · [All operations](https://skmtc.net/mysteriumnetwork/apis/tequila-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mysteriumnetwork/tequila-api/revisions/cb1439736b63/schema)
