Skip to main content
POST
/
media-bridge
/
2026-03
/
{appId}
/
settings
/
object-definitions
Create a new object type
curl --request POST \
  --url https://api.hubapi.com/media-bridge/2026-03/{appId}/settings/object-definitions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "mediaTypes": [
    "VIDEO"
  ]
}
'
{
  "createdObjects": {}
}

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

Body

application/json
mediaTypes
enum<string>[]
required
Available options:
VIDEO,
AUDIO,
DOCUMENT,
OTHER,
IMAGE

Response

successful operation

createdObjects
object
required
Last modified on March 30, 2026