Basic

Create

Create a new oEmbed domain setting for a specific app in your HubSpot account. This endpoint allows you to define domains that can be used for oEmbed purposes, facilitating the integration of media content from external sources.

post/media-bridge/2026-09/{appId}/settings/oembed-domains

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/media-bridge/2026-09/{appId}/settings/oembed-domains
  • Auth
    API key in query parameter hapikey

Path parameters

appIdinteger required

The unique identifier of the app for which the oEmbed domains are being created.

Request body

portalIdinteger

An integer representing the unique identifier of the HubSpot portal where the oEmbed domain is being configured.

Response

successful operation

appIdinteger required

The application ID associated with the oEmbed domain, represented as an integer.

createdAtinteger required

The date and time when the oEmbed domain entry was created, in ISO 8601 format.

deletedAtinteger required

The date and time when the oEmbed domain entry was deleted, in ISO 8601 format. This field may be null if the entry has not been deleted.

idinteger required

The unique identifier for the oEmbed domain entry, represented as a string.

portalIdinteger required

The portal ID related to the oEmbed domain, represented as an integer.

updatedAtinteger required

The date and time when the oEmbed domain entry was last updated, in ISO 8601 format.

Changes

No operation changes recorded.