curl --request POST \
--url https://api.turnkey.com/public/v1/submit/create_tvc_manifest_approvals \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header "X-Stamp: <string> (see Authorizations)" \
--data '{
"type": "ACTIVITY_TYPE_CREATE_TVC_MANIFEST_APPROVALS",
"timestampMs": "<string> (e.g. 1746736509954)",
"organizationId": "<string> (Your Organization ID)",
"parameters": {
"manifestId": "<string>",
"approvals": [
{
"operatorId": "<string>",
"signature": "<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().createTvcManifestApprovals({
manifestId: "<string> (Unique identifier of the TVC deployment to approve)",
approvals: [{ // List of manifest approvals,
operatorId: "<string> (Unique identifier of the operator providing this approval)",
signature: "<string> (Signature from the operator approving the manifest)",
}]
});
{
"activity": {
"id": "<activity-id>",
"status": "ACTIVITY_STATUS_COMPLETED",
"type": "ACTIVITY_TYPE_CREATE_TVC_MANIFEST_APPROVALS",
"organizationId": "<organization-id>",
"timestampMs": "<timestamp> (e.g. 1746736509954)",
"result": {
"activity": {
"id": "<string>",
"organizationId": "<string>",
"status": "<string>",
"type": "<string>",
"intent": {
"createTvcManifestApprovalsIntent": {
"manifestId": "<string>",
"approvals": [
{
"operatorId": "<string>",
"signature": "<string>"
}
]
}
},
"result": {
"createTvcManifestApprovalsResult": {
"approvalIds": [
"<string>"
]
}
},
"votes": "<array>",
"fingerprint": "<string>",
"canApprove": "<boolean>",
"canReject": "<boolean>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
}
}
}
Activities
Create TVC manifest approvals
Post one or more manifest approvals for a TVC manifest.
curl --request POST \
--url https://api.turnkey.com/public/v1/submit/create_tvc_manifest_approvals \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header "X-Stamp: <string> (see Authorizations)" \
--data '{
"type": "ACTIVITY_TYPE_CREATE_TVC_MANIFEST_APPROVALS",
"timestampMs": "<string> (e.g. 1746736509954)",
"organizationId": "<string> (Your Organization ID)",
"parameters": {
"manifestId": "<string>",
"approvals": [
{
"operatorId": "<string>",
"signature": "<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().createTvcManifestApprovals({
manifestId: "<string> (Unique identifier of the TVC deployment to approve)",
approvals: [{ // List of manifest approvals,
operatorId: "<string> (Unique identifier of the operator providing this approval)",
signature: "<string> (Signature from the operator approving the manifest)",
}]
});
{
"activity": {
"id": "<activity-id>",
"status": "ACTIVITY_STATUS_COMPLETED",
"type": "ACTIVITY_TYPE_CREATE_TVC_MANIFEST_APPROVALS",
"organizationId": "<organization-id>",
"timestampMs": "<timestamp> (e.g. 1746736509954)",
"result": {
"activity": {
"id": "<string>",
"organizationId": "<string>",
"status": "<string>",
"type": "<string>",
"intent": {
"createTvcManifestApprovalsIntent": {
"manifestId": "<string>",
"approvals": [
{
"operatorId": "<string>",
"signature": "<string>"
}
]
}
},
"result": {
"createTvcManifestApprovalsResult": {
"approvalIds": [
"<string>"
]
}
},
"votes": "<array>",
"fingerprint": "<string>",
"canApprove": "<boolean>",
"canReject": "<boolean>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
}
}
}
A successful response returns the following fields:
Was this page helpful?