HubSpot

Marketing Events Extension

These APIs allow you to interact with HubSpot's Marketing Events Extension. It allows you to: * Create, Read or update Marketing Event information in HubSpot…

Other#openapi

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

These APIs allow you to interact with HubSpot's Marketing Events Extension. It allows you to:

  • Create, Read or update Marketing Event information in HubSpot
  • Specify whether a HubSpot contact has registered, attended or cancelled a registration to a Marketing Event.
  • Specify a URL that can be called to get the details of a Marketing Event.

Endpoints 16

Search

  • GETSearch for marketing events/marketing/v3/marketing-events/events/search?q=stringSearch for marketing events that have an event id that starts with the query string

Attendance Subscriber State Changes

  • POSTRecord/marketing/v3/marketing-events/attendance/:externalEventId/:subscriberState/create?externalAccountId=stringRecord a subscription state between multiple HubSpot contacts and a marketing event, using HubSpot contact ids.
  • POSTRecord/marketing/v3/marketing-events/attendance/:externalEventId/:subscriberState/email-create?externalAccountId=stringRecord a subscription state between multiple HubSpot contacts and a marketing event, using contact email addresses. If contact is not present it will be…

Marketing_Events_External

  • POSTpost-/marketing/v3/marketing-events/events_create/marketing/v3/marketing-events/events
  • POSTpost-/marketing/v3/marketing-events/events/delete_archiveBatch/marketing/v3/marketing-events/events/delete
  • POSTpost-/marketing/v3/marketing-events/events/upsert_doUpsert/marketing/v3/marketing-events/events/upsert
  • GETget-/marketing/v3/marketing-events/events/{externalEventId}_getById/marketing/v3/marketing-events/events/:externalEventId?externalAccountId=string
  • PUTput-/marketing/v3/marketing-events/events/{externalEventId}_replace/marketing/v3/marketing-events/events/:externalEventId
  • DELETEdelete-/marketing/v3/marketing-events/events/{externalEventId}_archive/marketing/v3/marketing-events/events/:externalEventId?externalAccountId=string
  • PATCHpatch-/marketing/v3/marketing-events/events/{externalEventId}_update/marketing/v3/marketing-events/events/:externalEventId?externalAccountId=string
  • POSTpost-/marketing/v3/marketing-events/events/{externalEventId}/cancel_doCancel/marketing/v3/marketing-events/events/:externalEventId/cancel?externalAccountId=string
  • POSTpost-/marketing/v3/marketing-events/events/{externalEventId}/complete_complete/marketing/v3/marketing-events/events/:externalEventId/complete?externalAccountId=string
  • POSTpost-/marketing/v3/marketing-events/events/{externalEventId}/{subscriberState}/email-upsert_doEmailUpsertById/marketing/v3/marketing-events/events/:externalEventId/:subscriberState/email-upsert?externalAccountId=string
  • POSTpost-/marketing/v3/marketing-events/events/{externalEventId}/{subscriberState}/upsert_doUpsertById/marketing/v3/marketing-events/events/:externalEventId/:subscriberState/upsert?externalAccountId=string

Settings_External

  • GETget-/marketing/v3/marketing-events/{appId}/settings_getAll/marketing/v3/marketing-events/:appId/settings
  • POSTpost-/marketing/v3/marketing-events/{appId}/settings_create/marketing/v3/marketing-events/:appId/settings

API details

Base URL
https://api.hubapi.com
Authentication
An API key in the hapikey query parameter
An API key in the hapikey query parameter
OAuth 2.0 (authorization code flow) with 2 scopes
An API key in the private-app-legacy header
Operations
16 operations on 12 pathsPOST 10GET 3PUT 1PATCH 1DELETE 1
Main resources
Marketing_Events_External 11Attendance Subscriber State Changes 2Settings_External 2Search 1
Response formats
application/json
Description format
OpenAPI 3.0.1, API version v3
Listed from
APIs.guru OpenAPI Directory (CC0-1.0)
Source updated

How to test the Marketing Events Extension in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Marketing Events Extension collection, without the publisher's secrets.
  3. Add your credentialsThis API uses an API key in the hapikey query parameter. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Search for marketing events” (GET /marketing/v3/marketing-events/events/search?q=string), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Marketing Events Extension?

These APIs allow you to interact with HubSpot's Marketing Events Extension. It allows you to: * Create, Read or update Marketing Event information in HubSpot… It is listed under Other and has 16 endpoints.

Who publishes the Marketing Events Extension?

It is listed from HubSpot's public API description (an OpenAPI document), not published by HubSpot on Swastik Codes. Anyone who controls hubapi.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Marketing Events Extension?

Requests go to https://api.hubapi.com. Endpoint paths are added to this base URL.

How do I authenticate with the Marketing Events Extension?

It accepts 4 methods: an API key in the hapikey query parameter; an API key in the hapikey query parameter; OAuth 2.0 (authorization code flow) with 2 scopes; an API key in the private-app-legacy header.

How many endpoints does the Marketing Events Extension have?

16 operations on 12 paths (10 POST, 3 GET, 1 PUT, 1 PATCH, 1 DELETE). The largest groups are Marketing_Events_External, Attendance Subscriber State Changes, Settings_External, Search.

Is forking the Marketing Events Extension free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.