---
title: "Create Service Account"
method: POST
path: "/api/platform/service-accounts"
tags: ["platform"]
---

# Create Service Account

`POST /api/platform/service-accounts`

Create a new service account.

## Request body

- CreateServiceAccountRequest — Body for creating a service account.
  - `id` string, required — Short id (letters, digits, hyphen/underscore).
  - `displayName` string, required — Human-readable name.
  - `description` string, nullable — Optional description.
  - `email` string, nullable — GCP service account email (optional).

## Response `201`

Successful Response

- PlatformServiceAccount — A service account with FGA mirror status.
  - `id` string, required
  - `displayName` string, required
  - `description` string, nullable
  - `email` string, nullable
  - `gcpUniqueId` string, nullable
  - `fgaSyncStatus` string
  - `fgaLastError` string, nullable
  - `fgaLastReconciledAt` string, date-time, nullable
  - `createdAt` string, date-time, nullable
  - `updatedAt` string, date-time, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/gocrisp/apis/crisp-app-dock.md) · [All operations](https://skmtc.dev/gocrisp/apis/crisp-app-dock/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gocrisp/crisp-app-dock/revisions/e56bd3c1a9db/schema)
