---
title: "Create"
method: POST
path: "/marketing/v3/campaigns"
tags: ["Basic"]
---

# Create

`POST /marketing/v3/campaigns`

## Request

- Base URL: `https://api.hubapi.com`
- URL: `https://api.hubapi.com/marketing/v3/campaigns`
- Auth: OAuth 2
  - Authorization code: `https://app.hubspot.com/oauth/authorize`
  - Token URL: `https://api.hubapi.com/oauth/v1/token` scopes: `marketing.campaigns.write`

Create a campaign with the given properties and return a copy of the object, including the ID. Note: The 'hs_goal' property is deprecated and will be ignored if provided.

## Request body

- PublicCampaignInput
  - `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

- PublicCampaign
  - `businessUnits` PublicBusinessUnit[], 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.

## Changes

> 749 revisions in range; 11 not diffed.

- **2026-08-17** (v3) `d72436413d14`: 1 info
  - endpoint added
- **2026-07-13** (v3) `b6daafa307a3`: 1 breaking
  - api path removed without deprecation
- **2026-07-13** (v3) `bbabb550b117`: 1 info
  - endpoint added
- **2026-07-13** (v3) `888934953fff`: 1 breaking
  - api path removed without deprecation
- **2026-06-15** (v3) `bbabb550b117`: 1 warning
  - the optional response header `Location` removed for the status `201`

[Operation history](https://skmtc.dev/hubspot/apis/marketing-campaigns-public-api/changes/marketing/v3/campaigns/post.md)

---

[API](https://skmtc.dev/hubspot/apis/marketing-campaigns-public-api.md) - [All operations](https://skmtc.dev/hubspot/apis/marketing-campaigns-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hubspot/apis/marketing-campaigns-public-api/revisions/f31b87ae2953?raw)
