POST
Authorizations
Body
Unique identifier for a given organization.
Response
A successful response returns the following fields:A list of private key tags.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl --request POST \
--url https://api.turnkey.com/public/v1/query/list_private_key_tags \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header "X-Stamp: <string> (see Authorizations)" \
--data '{
"organizationId": "<string>"
}'
import { Turnkey } from "@turnkey/sdk-server";
const turnkeyClient = new Turnkey({
apiBaseUrl: "https://api.turnkey.com",
apiPublicKey: process.env.API_PUBLIC_KEY!,
apiPrivateKey: process.env.API_PRIVATE_KEY!,
defaultOrganizationId: process.env.ORGANIZATION_ID!,
});
const response = await turnkeyClient.apiClient().listPrivateKeyTags({
organizationId: "<string> (Unique identifier for a given organization.)"
});
{
"privateKeyTags": [
{
"tagId": "<string>",
"tagName": "<string>",
"tagType": "<TAG_TYPE_USER>",
"createdAt": {
"seconds": "<string>",
"nanos": "<string>"
},
"updatedAt": {
"seconds": "<string>",
"nanos": "<string>"
}
}
]
}
List all private key tags within an organization.
Show privateKeyTags details
curl --request POST \
--url https://api.turnkey.com/public/v1/query/list_private_key_tags \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header "X-Stamp: <string> (see Authorizations)" \
--data '{
"organizationId": "<string>"
}'
import { Turnkey } from "@turnkey/sdk-server";
const turnkeyClient = new Turnkey({
apiBaseUrl: "https://api.turnkey.com",
apiPublicKey: process.env.API_PUBLIC_KEY!,
apiPrivateKey: process.env.API_PRIVATE_KEY!,
defaultOrganizationId: process.env.ORGANIZATION_ID!,
});
const response = await turnkeyClient.apiClient().listPrivateKeyTags({
organizationId: "<string> (Unique identifier for a given organization.)"
});
{
"privateKeyTags": [
{
"tagId": "<string>",
"tagName": "<string>",
"tagType": "<TAG_TYPE_USER>",
"createdAt": {
"seconds": "<string>",
"nanos": "<string>"
},
"updatedAt": {
"seconds": "<string>",
"nanos": "<string>"
}
}
]
}
Was this page helpful?