Create a private key tag and add it to private keys.
curl --request POST \
--url https://api.turnkey.com/public/v1/submit/create_private_key_tag \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header "X-Stamp: <YOUR_API_KEY.YOUR_API_SECRET>" \
--data '{
"type": "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG",
"timestampMs": "<string> (e.g., 1745474677466)",
"organizationId": "<string> (Your Organization ID)",
"parameters": {
"privateKeyTagName": "<string>",
"privateKeyIds": [
"<string_element>"
]
}
}'
{
"activity": {
"id": "<activity-id>",
"status": "ACTIVITY_STATUS_COMPLETED",
"type": "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG",
"organizationId": "<organization-id>",
"timestampMs": "<timestamp> (e.g., 1745474677466)",
"result": {
"activity": {
"type": "<string>",
"intent": {
"createPrivateKeyTagIntent": {
"privateKeyTagName": "<string>",
"privateKeyIds": [
"<string_element>"
]
}
},
"result": {
"createPrivateKeyTagResult": {
"privateKeyTagId": "<string>",
"privateKeyIds": [
"<string_element>"
]
}
}
}
}
}
}
Enum options: ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG
Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
Unique identifier for a given Organization.
parameters field
Show details
A list of Private Key IDs.
Show item details
Array item type: string
item field
A successful response returns the following fields:
The activity object containing type, intent, and result
Show activity details
The intent of the activity
Show intent details
The createPrivateKeyTagIntent object
Show createPrivateKeyTagIntent details
Human-readable name for a Private Key Tag.
The result of the activity
Show result details
The createPrivateKeyTagResult object
Show createPrivateKeyTagResult details
Unique identifier for a given Private Key Tag.
curl --request POST \
--url https://api.turnkey.com/public/v1/submit/create_private_key_tag \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header "X-Stamp: <YOUR_API_KEY.YOUR_API_SECRET>" \
--data '{
"type": "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG",
"timestampMs": "<string> (e.g., 1745474677466)",
"organizationId": "<string> (Your Organization ID)",
"parameters": {
"privateKeyTagName": "<string>",
"privateKeyIds": [
"<string_element>"
]
}
}'
{
"activity": {
"id": "<activity-id>",
"status": "ACTIVITY_STATUS_COMPLETED",
"type": "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG",
"organizationId": "<organization-id>",
"timestampMs": "<timestamp> (e.g., 1745474677466)",
"result": {
"activity": {
"type": "<string>",
"intent": {
"createPrivateKeyTagIntent": {
"privateKeyTagName": "<string>",
"privateKeyIds": [
"<string_element>"
]
}
},
"result": {
"createPrivateKeyTagResult": {
"privateKeyTagId": "<string>",
"privateKeyIds": [
"<string_element>"
]
}
}
}
}
}
}
Was this page helpful?
curl --request POST \
--url https://api.turnkey.com/public/v1/submit/create_private_key_tag \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header "X-Stamp: <YOUR_API_KEY.YOUR_API_SECRET>" \
--data '{
"type": "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG",
"timestampMs": "<string> (e.g., 1745474677466)",
"organizationId": "<string> (Your Organization ID)",
"parameters": {
"privateKeyTagName": "<string>",
"privateKeyIds": [
"<string_element>"
]
}
}'
{
"activity": {
"id": "<activity-id>",
"status": "ACTIVITY_STATUS_COMPLETED",
"type": "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG",
"organizationId": "<organization-id>",
"timestampMs": "<timestamp> (e.g., 1745474677466)",
"result": {
"activity": {
"type": "<string>",
"intent": {
"createPrivateKeyTagIntent": {
"privateKeyTagName": "<string>",
"privateKeyIds": [
"<string_element>"
]
}
},
"result": {
"createPrivateKeyTagResult": {
"privateKeyTagId": "<string>",
"privateKeyIds": [
"<string_element>"
]
}
}
}
}
}
}
Create a private key tag and add it to private keys.
curl --request POST \
--url https://api.turnkey.com/public/v1/submit/create_private_key_tag \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header "X-Stamp: <YOUR_API_KEY.YOUR_API_SECRET>" \
--data '{
"type": "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG",
"timestampMs": "<string> (e.g., 1745474677466)",
"organizationId": "<string> (Your Organization ID)",
"parameters": {
"privateKeyTagName": "<string>",
"privateKeyIds": [
"<string_element>"
]
}
}'
{
"activity": {
"id": "<activity-id>",
"status": "ACTIVITY_STATUS_COMPLETED",
"type": "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG",
"organizationId": "<organization-id>",
"timestampMs": "<timestamp> (e.g., 1745474677466)",
"result": {
"activity": {
"type": "<string>",
"intent": {
"createPrivateKeyTagIntent": {
"privateKeyTagName": "<string>",
"privateKeyIds": [
"<string_element>"
]
}
},
"result": {
"createPrivateKeyTagResult": {
"privateKeyTagId": "<string>",
"privateKeyIds": [
"<string_element>"
]
}
}
}
}
}
}
Enum options: ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG
Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
Unique identifier for a given Organization.
parameters field
Show details
A list of Private Key IDs.
Show item details
Array item type: string
item field
A successful response returns the following fields:
The activity object containing type, intent, and result
Show activity details
The intent of the activity
Show intent details
The createPrivateKeyTagIntent object
Show createPrivateKeyTagIntent details
Human-readable name for a Private Key Tag.
The result of the activity
Show result details
The createPrivateKeyTagResult object
Show createPrivateKeyTagResult details
Unique identifier for a given Private Key Tag.
curl --request POST \
--url https://api.turnkey.com/public/v1/submit/create_private_key_tag \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header "X-Stamp: <YOUR_API_KEY.YOUR_API_SECRET>" \
--data '{
"type": "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG",
"timestampMs": "<string> (e.g., 1745474677466)",
"organizationId": "<string> (Your Organization ID)",
"parameters": {
"privateKeyTagName": "<string>",
"privateKeyIds": [
"<string_element>"
]
}
}'
{
"activity": {
"id": "<activity-id>",
"status": "ACTIVITY_STATUS_COMPLETED",
"type": "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG",
"organizationId": "<organization-id>",
"timestampMs": "<timestamp> (e.g., 1745474677466)",
"result": {
"activity": {
"type": "<string>",
"intent": {
"createPrivateKeyTagIntent": {
"privateKeyTagName": "<string>",
"privateKeyIds": [
"<string_element>"
]
}
},
"result": {
"createPrivateKeyTagResult": {
"privateKeyTagId": "<string>",
"privateKeyIds": [
"<string_element>"
]
}
}
}
}
}
}
Was this page helpful?
curl --request POST \
--url https://api.turnkey.com/public/v1/submit/create_private_key_tag \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header "X-Stamp: <YOUR_API_KEY.YOUR_API_SECRET>" \
--data '{
"type": "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG",
"timestampMs": "<string> (e.g., 1745474677466)",
"organizationId": "<string> (Your Organization ID)",
"parameters": {
"privateKeyTagName": "<string>",
"privateKeyIds": [
"<string_element>"
]
}
}'
{
"activity": {
"id": "<activity-id>",
"status": "ACTIVITY_STATUS_COMPLETED",
"type": "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG",
"organizationId": "<organization-id>",
"timestampMs": "<timestamp> (e.g., 1745474677466)",
"result": {
"activity": {
"type": "<string>",
"intent": {
"createPrivateKeyTagIntent": {
"privateKeyTagName": "<string>",
"privateKeyIds": [
"<string_element>"
]
}
},
"result": {
"createPrivateKeyTagResult": {
"privateKeyTagId": "<string>",
"privateKeyIds": [
"<string_element>"
]
}
}
}
}
}
}