---
title: "Create service account"
method: POST
path: "/service_accounts"
tags: ["service_accounts"]
---

# Create service account

`POST /service_accounts`

Creates a new service account for machine-to-machine authentication. Returns client ID and secret (secret is only shown once at creation). Use these credentials for OAuth client_credentials flow.

## Request body

- object
  - `description` string — Service account description
  - `name` string, required — Service account name

## Response `200`

successful operation

- object
  - `client_id` string — Service account client ID
  - `client_secret` string — Service account client secret (only returned on creation)
  - `created_at` string — Creation timestamp
  - `description` string — Service account description
  - `name` string — Service account name
  - `updated_at` string — Last update timestamp

---

[API](https://skmtc.net/blaxel/apis/blaxel-control-plane.md) · [All operations](https://skmtc.net/blaxel/apis/blaxel-control-plane/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blaxel/blaxel-control-plane/revisions/dfa264bc72ee/schema)
