---
title: "Retrieve a machine secret key"
method: GET
path: "/machines/{machine_id}/secret_key"
tags: ["Machines"]
---

# Retrieve a machine secret key

`GET /machines/{machine_id}/secret_key`

Returns the secret key for a machine.

## Path parameters

- `machine_id` string, required

## Response `200`

Success

- object
  - `object` 'machine_secret_key', required — String representing the object's type.
  - `secret` string, required — The secret key for the machine.

## Other responses

- `400` — Request was not successful
- `401` — Authentication invalid
- `403` — Authorization invalid
- `404` — Resource not found

---

[API](https://skmtc.net/clerk/apis/clerk-backend-api.md) · [All operations](https://skmtc.net/clerk/apis/clerk-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clerk/clerk-backend-api/revisions/7d969765e49a/schema)
