---
title: "Create a campaign"
method: POST
path: "/marketing/campaigns/2026-03"
tags: ["Basic"]
---

# Create a campaign

`POST /marketing/campaigns/2026-03`

Create a campaign with the specified properties and receive a copy of the campaign object, including its ID. Note that the 'hs_goal' property is deprecated and will be ignored if provided.

## Request body

- MarketingCampaignsPublicCampaignInput
  - `properties` object, required — A collection of key-value pairs representing the properties of the campaign. Each key is a property name, and the corresponding value is the property's value.

## Response `201`

successful operation

- MarketingCampaignsPublicCampaign
  - `businessUnits` MarketingCampaignsPublicBusinessUnit[], required — An array of business units associated with the campaign, each represented by a PublicBusinessUnit object.
    - `id` integer, required — The unique identifier for the business unit, represented as an integer.
  - `createdAt` string, date-time, required — The date and time when the campaign was created, formatted as a date-time string.
  - `id` string, required — The unique identifier for the campaign.
  - `properties` object, required — A collection of key-value pairs representing additional properties of the campaign.
  - `updatedAt` string, date-time, required — The date and time when the campaign was last updated, formatted as a date-time string.

## Other responses

- `default` — An error occurred.

---

[API](https://skmtc.net/hubspot/apis/hubspot-api-specification.md) · [All operations](https://skmtc.net/hubspot/apis/hubspot-api-specification/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hubspot/hubspot-api-specification/revisions/f9c7181056c5/schema)
