---
title: "Create stakeholder group"
method: POST
path: "/stakeholder-comms/cloudId/{cloudId}/api/stakeholder_groups"
tags: ["Stakeholder User management"]
---

# Create stakeholder group

`POST /stakeholder-comms/cloudId/{cloudId}/api/stakeholder_groups`

Create a new stakeholder group in Stakeholder communications.

## Request body

- StakeholderCommsCreateStakeholderGroupInput — Request to create a stakeholder group.
  - `stakeholderGroupInput` object, required — Input for creating the stakeholder group.
    - `name` string, required — Name of the stakeholder group.
    - `description` string — Description of the stakeholder group.
    - `ownerId` string, required — Identifier of the group owner.
    - `logoUrl` string — URL of the group logo.
    - `status` 'ACTIVE' | 'INACTIVE' | 'SUSPENDED' | 'DELETED', required — Status of the stakeholder group.
    - `insertedAt` string, date-time — When the group was created.
    - `updatedAt` string, date-time — When the group was last updated.
    - `services` string[] — Service identifiers associated with the group.
  - `stakeholders` StakeholderCommsCreateStakeholderInput[] — Initial stakeholders to add to the group.
    - `stakeholder` object, required — Stakeholder creation input.
      - `aaid` string — Atlassian Account ID.
      - `stakeholderType` 'EXTERNAL' | 'INTERNAL' | 'GROUP' | 'TEAM', required — Type of stakeholder.
      - `skipConfirmation` boolean, required — Whether to skip email confirmation.
      - `assignmentType` 'INCIDENT' | 'SITE' | 'ORG' | 'PAGE' | 'PRODUCT' | 'ASSET' | 'SERVICES', required — Type of assignment.
      - `externalAssignmentId` string, required — External assignment identifier.
      - `addedFrom` 'STATUSPAGE' | 'JSM', required — Source system.
      - `emailId` string — Email address.
      - `atlassianTeamId` string — Atlassian team identifier.
      - `stakeholderGroupId` string — Group identifier.
      - `phoneNumber` string — Phone number.
      - `phoneCountry` string — Phone country code.
      - `webhook` string — Webhook URL.
      - `preference` object, required — Notification preferences input.
        - `email` object, required
          - `enabled` boolean
        - `sms` object, required
          - `enabled` boolean
        - `webhook` object, required
          - `enabled` boolean
    - `joiningGroupId` string — Optional group ID to add the stakeholder to.

## Response `201`

Returned if the stakeholder group is successfully created.

- StakeholderCommsGroupCreateResponse — Response containing a newly created stakeholder group with its initial members.
  - `group` StakeholderCommsStakeholderGroup — A stakeholder group in Stakeholder Comms.
    - `id` string — Unique identifier of the stakeholder group.
    - `name` string — Name of the stakeholder group.
    - `description` string — Description of the stakeholder group.
    - `ownerId` string — Identifier of the group owner.
    - `logoUrl` string — URL of the group logo.
    - `status` 'ACTIVE' | 'INACTIVE' | 'SUSPENDED' | 'DELETED' — Status of the stakeholder group.
    - `insertedAt` string, date-time — When the group was created.
    - `updatedAt` string, date-time — When the group was last updated.
    - `services` string[] — Service identifiers linked to this group.
  - `stakeholders` StakeholderCommsStakeholder[] — Stakeholders added to the group at creation.
    - `id` string — Unique identifier of the stakeholder.
    - `ari` string — Atlassian Resource Identifier for the stakeholder.
    - `aaid` string — Atlassian Account ID.
    - `stakeholderGroupId` string — Group the stakeholder belongs to.
    - `atlassianTeamId` string — Atlassian team ID.
    - `type` 'EXTERNAL' | 'INTERNAL' | 'GROUP' | 'TEAM' — Type of the stakeholder.
    - `skipConfirmation` boolean — Whether confirmation was skipped for this stakeholder.
    - `status` 'ACTIVE' | 'PENDING_IDENTITY_SETUP' | 'INVITED' | 'INVITED_PENDING_APPROVAL' | 'NOT_INVITED' | 'QUARANTINED' | 'DELETED' — Status of the stakeholder.
    - `notificationPreference` StakeholderCommsNotificationPreference — Notification preference details for a stakeholder.
      - `id` string — Identifier of the notification preference.
      - `emailId` string — Email address for notifications.
      - `phoneNumber` string — Phone number for SMS notifications.
      - `phoneCountry` string — Country code for the phone number.
      - `webhook` string — Webhook URL for notifications.
      - `preference` StakeholderCommsNotificationChannels — Per-channel notification enablement settings.
        - `email` object
          - `enabled` boolean
        - `sms` object
          - `enabled` boolean
        - `webhook` object
          - `enabled` boolean
      - `insertedAt` string, date-time — When the preference was created.
      - `updatedAt` string, date-time — When the preference was last updated.
    - `insertedAt` string, date-time — When the stakeholder was created.
    - `updatedAt` string, date-time — When the stakeholder was last updated.
    - `name` string — Display name of the stakeholder (from identity provider).
    - `avatar` string — Avatar URL for the stakeholder.
    - `groups` StakeholderCommsStakeholderGroupRef[] — Groups the stakeholder belongs to.
      - `id` string — Identifier of the group.
      - `name` string — Name of the group.
      - `avatar` string — Avatar URL for the group.
  - `ownerName` string — Display name of the group owner.
  - `ownerAvatar` string — Avatar URL of the group owner.
  - `error` string — Error message, if the operation was not successful.

## Other responses

- `400` — Returned if the request is invalid.
- `401` — Returned if the authentication credentials are incorrect.
- `403` — Returned if the user does not have permission to create the stakeholder group.
- `409` — Returned if a stakeholder group with the same name already exists.
- `500` — Returned if an internal server error occurs.

---

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