---
title: "Exports a given identity"
method: POST
path: "/export"
tags: ["export"]
---

# Exports a given identity

`POST /export`

Creates identity and stores in keystore encrypted with passphrase

## Request body

- IdentityExportRequestDTO
  - `identity` string
  - `newpassphrase` string

## Response `200`

Identity created

- IdentityExportResponseDTO
  - `address` string
  - `crypto` CryptoJSON
    - `cipher` string
    - `cipherparams` CipherparamsJSON
      - `iv` string
    - `ciphertext` string
    - `kdf` string
    - `kdfparams` object
    - `mac` string
  - `id` string
  - `version` integer

## Other responses

- `400` — Failed to parse or request validation failed
- `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)
