Skip to main content
POST
Create

Supported products

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

appId
integer<int32>
required

The unique identifier of the app for which the oEmbed domain setting is being created.

Body

application/json
endpoints
object
required
portalId
integer<int32>

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

Response

successful operation

appId
integer<int32>
required

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

createdAt
integer<int64>
required

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

deletedAt
integer<int64>
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.

endpoints
object
required
id
integer<int64>
required

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

portalId
integer<int32>
required

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

updatedAt
integer<int64>
required

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

Last modified on March 31, 2026