API Reference
- Overview
- Organizations
- Invitations
- Policies
- Features
Wallets and Private Keys
- Wallets
- Signing
- Private Keys
- Private Key Tags
Users
- Users
- User Tags
- User Recovery
- User Auth
Credentials
- Authenticators
- API keys
- Sessions
Activities
- Activities
- Consensus
Private Keys
Get Private Key
Get details about a Private Key
POST
/
public
/
v1
/
query
/
get_private_key
Copy
Ask AI
curl --request POST \
--url https://api.turnkey.com/public/v1/query/get_private_key \
--header 'Content-Type: application/json' \
--header 'X-Stamp: <api-key>' \
--data '{
"organizationId": "<string>",
"privateKeyId": "<string>"
}'
Copy
Ask AI
{
"privateKey": {
"privateKeyId": "<string>",
"publicKey": "<string>",
"privateKeyName": "<string>",
"curve": "CURVE_SECP256K1",
"addresses": [
{
"format": "ADDRESS_FORMAT_UNCOMPRESSED",
"address": "<string>"
}
],
"privateKeyTags": [
"<string>"
],
"createdAt": {
"seconds": "<string>",
"nanos": "<string>"
},
"updatedAt": {
"seconds": "<string>",
"nanos": "<string>"
},
"exported": true,
"imported": true
}
}
Authorizations
Body
application/json
Response
200 - application/json
A successful response.
The response is of type object
.
Was this page helpful?
Copy
Ask AI
curl --request POST \
--url https://api.turnkey.com/public/v1/query/get_private_key \
--header 'Content-Type: application/json' \
--header 'X-Stamp: <api-key>' \
--data '{
"organizationId": "<string>",
"privateKeyId": "<string>"
}'
Copy
Ask AI
{
"privateKey": {
"privateKeyId": "<string>",
"publicKey": "<string>",
"privateKeyName": "<string>",
"curve": "CURVE_SECP256K1",
"addresses": [
{
"format": "ADDRESS_FORMAT_UNCOMPRESSED",
"address": "<string>"
}
],
"privateKeyTags": [
"<string>"
],
"createdAt": {
"seconds": "<string>",
"nanos": "<string>"
},
"updatedAt": {
"seconds": "<string>",
"nanos": "<string>"
},
"exported": true,
"imported": true
}
}
Assistant
Responses are generated using AI and may contain mistakes.