Batch

Create a batch of campaigns

Changed on

This endpoint creates a batch of campaigns. The maximum number of items in a batch request is 50. The campaigns in the response are not guaranteed to be in the same order as they were provided in the request.

post/marketing/campaigns/2026-03/batch/create

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/marketing/campaigns/2026-03/batch/create
  • Auth
    • HTTP bearer
    • or API key in query parameter hapikey
    • or none

Request body

Response

successful operation

completedAtstring date-time required

The date and time when the batch operation was completed, formatted as a date-time string.

linksobject

A map of related links associated with the batch operation.

requestedAtstring date-time

The date and time when the batch operation was requested, formatted as a date-time string.

startedAtstring date-time required

The date and time when the batch operation started, formatted as a date-time string.

status'CANCELED' | 'COMPLETE' | 'PENDING' | 'PROCESSING' required

The current status of the batch operation, with possible values: CANCELED, COMPLETE, PENDING, PROCESSING.

Changes

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the success response with the status

    • info

      endpoint added

Some revisions have not been checked yet.