Get Clerk machine secret key
Retrieve the secret key for a machine in a connected Clerk instance.
← All Clerk endpoints · Capability overview
/v1/clerk/machines/{machine_id}/secret-keyhttps://api.vee3.io/v1/clerk/machines/{machine_id}/secret-key
Retrieve the secret key for a machine in a connected Clerk instance.
Authorization
Send your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
MCP
The same capability is available as an MCP tool on Vee3 hosted MCP.
Tool name
clerk.get_machine_secret_keyParameters2 fields
clerk_instance_idstringOptionalClerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account.
machine_idstringRequiredClerk machine id (mch_...) to retrieve or modify.
Response3 fields
machine_secret_keyobject2 fieldsMachine secret key payload from the Backend API.
machine_secret_keyobjectobjectstringObject type (machine_secret_key).
secretstringMachine secret key. Treat as high-privilege — do not log.
HTTP errors: clerk_connection_required, clerk_connection_not_found, clerk_connection_invalid, validation_error, unauthorized, payment_required