Get Clerk machine secret key

Retrieve the secret key for a machine in a connected Clerk instance.

← All Clerk endpoints · Capability overview

GET/v1/clerk/machines/{machine_id}/secret-key

https://api.vee3.io/v1/clerk/machines/{machine_id}/secret-key

5 tokens

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_key
Parameters2 fields
clerk_instance_idstringOptional

Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account.

machine_idstringRequired

Clerk machine id (mch_...) to retrieve or modify.

Response3 fields
machine_secret_keyobject
2 fields

Machine secret key payload from the Backend API.

objectstring

Object type (machine_secret_key).

secretstring

Machine 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