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

# Create Campaign



## OpenAPI

````yaml /actionkit/openapi.json POST /projects/{project_id}/tools/#KLAVIYO_CREATE_CAMPAIGN
openapi: 3.0.0
info:
  title: ActionKit Tools API
  version: 1.0.0
servers:
  - url: https://actionkit.useparagon.com
    description: US Cloud
security: []
paths:
  /projects/{project_id}/tools/#KLAVIYO_CREATE_CAMPAIGN:
    post:
      summary: Create Campaign
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            description: >-
              Your Paragon Project ID. You can copy your Project ID from your
              dashboard URL or by clicking Copy Project ID under the Environment
              switcher.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                tool:
                  type: string
                  default: KLAVIYO_CREATE_CAMPAIGN
                parameters:
                  type: object
                  properties:
                    listId:
                      type: string
                      description: The ID of the list that this subscriber will be added to
                    template:
                      type: string
                      description: >-
                        The ID of the email template object that will be the
                        content of this campaign
                    subject:
                      type: string
                      description: 'Subject '
                    email:
                      type: string
                      description: The email address campaign emails will be sent from
                    senderName:
                      type: string
                      description: >-
                        The name or label associated with the email address
                        you're sending from
                    campaignName:
                      type: string
                      description: 'Campaign name '
                    smartSending:
                      type: string
                      description: >-
                        Use smart sending  : Limits the number of emails sent to
                        an individual within a short period.
                      enum:
                        - 'True'
                        - 'False'
                  required:
                    - listId
                    - template
                    - subject
                    - email
                    - senderName
                    - campaignName
                    - smartSending
                  x-integration: klaviyo
              required:
                - tool
                - parameters
      responses:
        '200':
          description: Success
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Your [Paragon User
        Token](/getting-started/installing-the-connect-sdk#setup) (JWT), which
        you can generate using your project's signing keys.

````