---
title: "Create GitHub connector account"
method: POST
path: "/v1/connectors/github/accounts"
tags: ["GitHub"]
---

# Create GitHub connector account

`POST /v1/connectors/github/accounts`

Persists one GitHub App installation as a connector account.

## Request body

- object
  - `installationId` integer, required
  - `accountLogin` string, required
  - `accountType` 'Organization' | 'User', required
  - `displayName` string, required

## Response `201`

GitHub connector account created successfully.

- PluginArchConnectorAccountMutationResponse
  - `ok` true, required
  - `item` PluginArchConnectorAccount, required
    - `id` string, typeid, required — Den TypeID with 'cac_' prefix and a 26-character base32 suffix.
    - `organizationId` string, typeid, required — Den TypeID with 'org_' prefix and a 26-character base32 suffix.
    - `connectorType` 'github', required
    - `remoteId` string, required
    - `externalAccountRef` string, nullable, required
    - `displayName` string, required
    - `status` 'active' | 'inactive' | 'disconnected' | 'error', required
    - `createdByName` string, nullable
    - `createdByOrgMembershipId` string, typeid, required — Den TypeID with 'om_' prefix and a 26-character base32 suffix.
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `metadata` object

## Other responses

- `400` — The GitHub account creation request was invalid.
- `401` — The caller must be signed in to create GitHub connector accounts.
- `403` — The caller lacks permission to create GitHub connector accounts.

---

[API](https://skmtc.net/openworklabs/apis/den-api.md) · [All operations](https://skmtc.net/openworklabs/apis/den-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openworklabs/den-api/versions/805150503452/schema)
