> ## Documentation Index
> Fetch the complete documentation index at: https://developers.aimtell.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Share Triggered Campaign

> Shares this triggered campaign with one or more additional sites. The campaign must target exactly one segment, and that segment must already be shared with every site listed here (see Share Segment). Edits to this campaign automatically propagate to the shared copies. To stop sharing with a site, delete the copied campaign on that site.



## OpenAPI

````yaml /api-reference/push-openapi.json post /prod/event-campaign/{id}/shared
openapi: 3.1.0
info:
  title: push-notifications
  version: '1.1'
servers:
  - url: https://api.aimtell.com
security:
  - sec0: []
tags:
  - name: One-Off Notifications
    description: Send individual push notifications
  - name: Welcome Notifications
    description: Welcome notification campaigns
  - name: Triggered Campaigns
    description: Event-triggered push notification campaigns
  - name: RSS Campaigns
    description: RSS feed-based push notification campaigns
  - name: Manual Campaigns
    description: Manually created push notification campaigns
  - name: API Campaigns
    description: API-triggered push notification campaigns
paths:
  /prod/event-campaign/{id}/shared:
    post:
      tags:
        - Triggered Campaigns
      summary: Share Triggered Campaign
      description: >-
        Shares this triggered campaign with one or more additional sites. The
        campaign must target exactly one segment, and that segment must already
        be shared with every site listed here (see Share Segment). Edits to this
        campaign automatically propagate to the shared copies. To stop sharing
        with a site, delete the copied campaign on that site.
      operationId: share-triggered-campaign
      parameters:
        - name: id
          in: path
          description: Campaign ID
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
                - sites
              properties:
                sites:
                  type: array
                  description: >-
                    Site IDs to share with. Sites already in the shared group
                    are ignored.
                  items:
                    type: integer
            examples:
              Request:
                value:
                  sites:
                    - 456
                    - 457
                    - 458
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value:
                    result: success
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value:
                    result: error
                    message: Shared campaigns must target one single shared segment
      deprecated: false
components:
  securitySchemes:
    sec0:
      type: apiKey
      name: X-Authorization-Api-Key
      in: header
      x-default: ''

````