---
title: "Authorize Machine Token"
method: POST
path: "/v0/authorize/machine-token"
tags: ["auth"]
---

# Authorize Machine Token

`POST /v0/authorize/machine-token`

Exchanges a machine token for a session token.
This endpoint does not require an Authorization header.
Returns a session token that can be used as a Bearer token in subsequent API calls.

## Request body

- MachineTokenRequest
  - `client` string, required — Client identifier
  - `machine_token` string, required — Machine token for authentication

## Response `200`

- SessionResponse
  - `expires_at` integer, required — Session expiration timestamp (Unix timestamp)
  - `session` string, required — Session token for subsequent API calls
  - `user_id` string, required — Authenticated user identifier

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/pantheon/apis/pantheon-public-api-service.md) · [All operations](https://skmtc.net/pantheon/apis/pantheon-public-api-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pantheon/pantheon-public-api-service/revisions/94758829689e/schema)
