---
title: "Add a sharing group blueprint"
method: POST
path: "/sharing_group_blueprints/add"
tags: ["Sharing Group Blueprints"]
---

# Add a sharing group blueprint

`POST /sharing_group_blueprints/add`

## Request body

- SharingGroupBlueprintAdd
  - `SharingGroupBlueprint` object
    - `name` string
    - `rules` string — String encoded JSON. Supported operands are OR, AND and NOT. Supported filters, as single values or list, are: org_id, org_uuid, org_name, org_nationality, org_sector, org_type, sharing_group_id and sharing_group_uuid.
    - `sharing_group_id` string, nullable

## Response `200`

Sharing group blueprint response

- object
  - `SharingGroupBlueprint` FullSharingGroupBlueprint
    - `id` string, nullable
    - `uuid` string, uuid
    - `name` string
    - `timestamp` string
    - `user_id` string
    - `org_id` string
    - `sharing_group_id` union
      - string, nullable
      - string, uuid, nullable
    - `rules` string

## Other responses

- `default` — Unexpected API error

## Changes

- **2025-12-11** `06b7b1f93f1e` — 1 breaking, 1 warning
  - added `subschema #2` to the `SharingGroupBlueprint` request property `allOf` list
  - removed `#/components/schemas/SharingGroupIntId` from the `SharingGroupBlueprint` request property `allOf` list
- **2025-12-11** `0a9c9382121a` — 4 breaking, 1 warning, 1 info
  - added `#/components/schemas/SharingGroupIntId` to the `SharingGroupBlueprint` request property `allOf` list
  - the `SharingGroupBlueprint/sharing_group_id` response property's maxLength was unset from `10` for the response status `200`
  - added `#/components/schemas/SharingGroupIntId, #/components/schemas/SharingGroupUuidId` to the `SharingGroupBlueprint/sharing_group_id` response property `oneOf` list for the response status `200`
  - the `SharingGroupBlueprint/sharing_group_id` response's property type/format changed from `string`/`` to ``/`` for status `200`
  - …2 more
- **2025-10-14** `b25b1478b901` — 1 info
  - endpoint added
- **2025-10-09** `208ef0cf2d79` — 1 breaking
  - api path removed without deprecation
- **2025-10-04** `96f22f03b534` — 1 info
  - endpoint added

[Full history](https://skmtc.dev/misp/apis/misp-automation-api/changes/sharing_group_blueprints/add/post.md)

---

[API](https://skmtc.dev/misp/apis/misp-automation-api.md) · [All operations](https://skmtc.dev/misp/apis/misp-automation-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/misp/misp-automation-api/revisions/88b34ff032a1/schema)
