Skip to main content
POST
/
media-bridge
/
v1
/
{appId}
/
properties
/
{objectType}
/
batch
/
create
Crear varias propiedades
curl --request POST \
  --url https://api.hubapi.com/media-bridge/v1/{appId}/properties/{objectType}/batch/create \
  --header 'Content-Type: application/json' \
  --data '{
  "inputs": [
    {
      "hidden": true,
      "displayOrder": 123,
      "description": "<string>",
      "label": "<string>",
      "type": "bool",
      "formField": true,
      "dataSensitivity": "non_sensitive",
      "groupName": "<string>",
      "referencedObjectType": "<string>",
      "name": "<string>",
      "options": [
        {
          "hidden": true,
          "displayOrder": 123,
          "description": "<string>",
          "label": "<string>",
          "value": "<string>"
        }
      ],
      "calculationFormula": "<string>",
      "hasUniqueValue": true,
      "fieldType": "booleancheckbox",
      "externalOptions": true
    }
  ]
}'
{
  "completedAt": "2023-11-07T05:31:56Z",
  "requestedAt": "2023-11-07T05:31:56Z",
  "startedAt": "2023-11-07T05:31:56Z",
  "links": {},
  "results": [
    {
      "favoritedOrder": 123,
      "enforceMultivalueUniqueness": true,
      "readOnlyValue": false,
      "hidden": false,
      "optionSortStrategy": "",
      "displayOrder": 123,
      "description": "",
      "showCurrencySymbol": false,
      "type": "",
      "readOnlyDefinition": false,
      "hubspotDefined": false,
      "allowedObjectTypes": "",
      "createdAt": 123,
      "searchTextAnalysisMode": "NONE",
      "textDisplayHint": "",
      "portalId": 123,
      "options": "",
      "isPartial": false,
      "optionsAreMutable": false,
      "hasUniqueValue": false,
      "calculated": false,
      "externalOptions": false,
      "dateDisplayHint": "absolute",
      "favorited": false,
      "updatedAt": 123,
      "createdUserId": 123,
      "canArchive": true,
      "fromUserId": 123,
      "mutableDefinitionNotDeletable": false,
      "isMultiValued": false,
      "sensitiveDataCategories": "",
      "canRestore": true,
      "currencyPropertyName": "",
      "owningAppId": 123,
      "isCustomizedDefault": false,
      "label": "",
      "formField": false,
      "displayMode": "",
      "dataSensitivity": "",
      "groupName": "",
      "deleted": false,
      "referencedObjectType": "",
      "name": "",
      "searchableInGlobalSearch": false,
      "externalOptionsReferenceType": "",
      "numberDisplayHint": "",
      "fieldType": ""
    }
  ],
  "status": "PENDING"
}
Productos compatibles
Se requiere uno de los siguientes productos o productos de ediciones superiores.
Marketing HubMarketing HubGratuito
Sales HubSales HubGratuito
Service HubService HubGratuito
Content HubContent HubGratuito

Authorizations

hapikey
string
query
required

Path Parameters

appId
string
required
objectType
string
required

Body

application/json
inputs
object[]
required

Response

successful operation

completedAt
string<date-time>
required
startedAt
string<date-time>
required
results
object[]
required
status
enum<string>
required
Available options:
PENDING,
PROCESSING,
CANCELED,
COMPLETE
requestedAt
string<date-time>