---
title: "Service token creation is dashboard-only"
method: POST
path: "/api/v1/secure-tokens"
---

# Service token creation is dashboard-only

`POST /api/v1/secure-tokens`

## Request

- Base URL: `https://aicommander.dev`
- URL: `https://aicommander.dev/api/v1/secure-tokens`
- Auth: HTTP bearer

Service tokens are long-lived credentials. Creating them with an account API key is intentionally disabled so a leaked active API key cannot mint persistent service-token access. Create service tokens manually in the dashboard; this endpoint returns 403 with a dashboard_url.

## Other responses

- `403`: Service token creation is dashboard-only.

---

[API](https://skmtc.dev/aicommander/apis/ai-commander-remote-shell-and-long-running-jobs-api.md) · [All operations](https://skmtc.dev/aicommander/apis/ai-commander-remote-shell-and-long-running-jobs-api/llms.txt) · [OpenAPI document](https://skmtc.dev/aicommander/apis/ai-commander-remote-shell-and-long-running-jobs-api/revisions/a6bb89f779a1?raw)
