-  API Key 
-  Webauthn (Passkey) 
Body
Enum options: ACTIVITY_TYPE_EXPORT_WALLET
Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
Unique identifier for a given Organization.
parameters field
Unique identifier for a given Wallet.
parameters.targetPublicKey
Client-side public key generated by the user, to which the export bundle will be encrypted.
Enum options: MNEMONIC_LANGUAGE_ENGLISH, MNEMONIC_LANGUAGE_SIMPLIFIED_CHINESE, MNEMONIC_LANGUAGE_TRADITIONAL_CHINESE, MNEMONIC_LANGUAGE_CZECH, MNEMONIC_LANGUAGE_FRENCH, MNEMONIC_LANGUAGE_ITALIAN, MNEMONIC_LANGUAGE_JAPANESE, MNEMONIC_LANGUAGE_KOREAN, MNEMONIC_LANGUAGE_SPANISH
Response
A successful response returns the following fields:
The activity object containing type, intent, and result
The intent of the activity
activity.intent.exportWalletIntent
The exportWalletIntent objectShow exportWalletIntent details
activity.intent.exportWalletIntent.walletId
Unique identifier for a given Wallet.
activity.intent.exportWalletIntent.targetPublicKey
Client-side public key generated by the user, to which the export bundle will be encrypted.
activity.intent.exportWalletIntent.language
language fieldEnum options: MNEMONIC_LANGUAGE_ENGLISH, MNEMONIC_LANGUAGE_SIMPLIFIED_CHINESE, MNEMONIC_LANGUAGE_TRADITIONAL_CHINESE, MNEMONIC_LANGUAGE_CZECH, MNEMONIC_LANGUAGE_FRENCH, MNEMONIC_LANGUAGE_ITALIAN, MNEMONIC_LANGUAGE_JAPANESE, MNEMONIC_LANGUAGE_KOREAN, MNEMONIC_LANGUAGE_SPANISH
  The result of the activity
activity.result.exportWalletResult
The exportWalletResult objectShow exportWalletResult details
activity.result.exportWalletResult.walletId
Unique identifier for a given Wallet.
activity.result.exportWalletResult.exportBundle
Export bundle containing a wallet mnemonic + optional newline passphrase encrypted by the client’s target public key.
   curl --request POST \
  --url https://api.turnkey.com/public/v1/submit/export_wallet \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --header "X-Stamp: <YOUR_API_KEY.YOUR_API_SECRET>" \
  --data '{
    "type": "ACTIVITY_TYPE_EXPORT_WALLET",
    "timestampMs": "<string> (e.g. 1746736509954)",
    "organizationId": "<string> (Your Organization ID)",
    "parameters": {
        "walletId": "<string>",
        "targetPublicKey": "<string>",
        "language": "<MNEMONIC_LANGUAGE_ENGLISH>"
    }
}'
{
  "activity": {
    "id": "<activity-id>",
    "status": "ACTIVITY_STATUS_COMPLETED",
    "type": "ACTIVITY_TYPE_EXPORT_WALLET",
    "organizationId": "<organization-id>",
    "timestampMs": "<timestamp> (e.g. 1746736509954)",
    "result": {
      "activity": {
        "type": "<string>",
        "intent": {
          "exportWalletIntent": {
            "walletId": "<string>",
            "targetPublicKey": "<string>",
            "language": "<MNEMONIC_LANGUAGE_ENGLISH>"
          }
        },
        "result": {
          "exportWalletResult": {
            "walletId": "<string>",
            "exportBundle": "<string>"
          }
        }
      }
    }
  }
}