v14

latestOpenAPI 3.0.0raw.githubusercontent.com2026-05-279719892.3 MB
Basic

Create a campaign

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.

post/marketing/campaigns/2026-03

Request body

propertiesobject 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

successful operation

createdAtstring date-time required

The date and time when the campaign was created, formatted as a date-time string.

idstring required

The unique identifier for the campaign.

propertiesobject required

A collection of key-value pairs representing additional properties of the campaign.

updatedAtstring date-time required

The date and time when the campaign was last updated, formatted as a date-time string.