Basic

Create or update a marketing event

Changed on

Upserts a marketing event If there is an existing marketing event with the specified ID, it will be updated; otherwise a new event will be created.

put/marketing/marketing-events/2026-03/events/{externalEventId}

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/marketing/marketing-events/2026-03/events/{externalEventId}
  • Auth
    • HTTP bearer
    • or API key in query parameter hapikey
    • or none

Path parameters

externalEventIdstring required

Request body

endDateTimestring date-time

The end date and time of the marketing event.

eventCancelledboolean

Indicates if the marketing event has been cancelled. Defaults to false

eventCompletedboolean

Indicates if the marketing event has been completed. Defaults to false

eventDescriptionstring

The description of the marketing event.

eventNamestring required

The name of the marketing event.

eventOrganizerstring required

The name of the organizer of the marketing event.

eventTypestring

Describes what type of event this is. For example: WEBINAR, CONFERENCE, WORKSHOP

eventUrlstring

A URL in the external event application where the marketing event can be managed.

externalAccountIdstring required

The accountId that is associated with this marketing event in the external event application.

externalEventIdstring required

The id of the marketing event in the external event application.

startDateTimestring date-time

The start date and time of the marketing event.

Response

successful operation

createdAtstring date-time required

The creation date and time of the marketing event.

endDateTimestring date-time

The end date and time of the marketing event.

eventCancelledboolean

Indicates if the marketing event has been cancelled.

eventCompletedboolean

Indicates if the marketing event has been completed.

eventDescriptionstring

The description of the marketing event.

eventNamestring required

The name of the marketing event.

eventOrganizerstring required

The name of the organizer of the marketing event.

eventTypestring

The type of the marketing event.

eventUrlstring

A URL in the external event application where the marketing event can be managed.

idstring required

The ID of the marketing event CRM object.

objectIdstring

The ID of the marketing event CRM object.

startDateTimestring date-time

The start date and time of the marketing event.

updatedAtstring date-time required

The update date and time of the marketing event.

Changes

    • warning

      added the new BREEZE_AGENT enum value to the // response property for the response status

    • warning

      added the new DI_WRITE_TO_CRM enum value to the // response property for the response status

    • info

      added the new BREEZE_AGENT enum value to the request property //

    • info

      added the new DI_WRITE_TO_CRM enum value to the request property //

    • info

      api operation id put-/marketing/marketing-events/2026-03/events/{externalEventId}_upsert removed and replaced with put-/marketing/marketing-events/2026-03/events/{externalEventId}

Some revisions have not been checked yet.