Batch

Create or Update Multiple Marketing Events

Changed on

Upserts multiple Marketing Events. If a Marketing Event with the specified ID already exists, it will be updated; otherwise, a new event will be created.

Only Marketing Events originally created by the same app can be updated.

post/marketing/v3/marketing-events/events/upsert

Request

  • Base URL
    https://api.hubapi.com
  • Auth
    OAuth 2
    Authorization codehttps://app.hubspot.com/oauth/authorize
    Token URLhttps://api.hubapi.com/oauth/v1/token
    Scopescrm.objects.marketing_events.write

Request body

Response

successful operation

completedAtstring date-time required

Timestamp of when the request was completed.

linksobject

Result of the request.

numErrorsinteger

The number of errors that occurred during the request.

requestedAtstring date-time

Timestamp of when the request was sent.

startedAtstring date-time required

Timestamp of when the request started processing.

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

Status of the response.

Changes

    • breaking

      added the new required request property inputs/items/customProperties/items/maskedSubstrings/substrings/items/label

    • info

      added the required property results/items/customProperties/items/maskedSubstrings/substrings/items/label to the response with the status

    • info

      endpoint added