---
title: "Create"
method: POST
path: "/v3/workplace/service_accounts"
---

# Create

`POST /v3/workplace/service_accounts`

## Request body

- object
  - `name` string
  - `workplace_role` object — You may provide an identifier OR permissions, but not both
    - `identifier` string — Identifier of an existing workplace role
    - `permissions` string[] — Workplace permissions to grant

## Response `200`

200

- object
  - `service_account` object
    - `name` string
    - `slug` string
    - `created_at` string
    - `workplace_role` object
      - `name` string
      - `permissions` string[]
      - `identifier` string
      - `created_at` string
      - `is_custom_role` boolean
      - `is_inline_role` boolean

---

[API](https://skmtc.dev/doppler/apis/core.md) · [All operations](https://skmtc.dev/doppler/apis/core/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/doppler/core/revisions/8f244bc5b038/schema)
