Saltar al contenido principal
POST
/
crm
/
associations
/
2026-03
/
definitions
/
configurations
/
{fromObjectType}
/
{toObjectType}
/
batch
/
create
Configurar límites de asociación
curl --request POST \
  --url https://api.hubapi.com/crm/associations/2026-03/definitions/configurations/{fromObjectType}/{toObjectType}/batch/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "inputs": [
    {
      "category": "HUBSPOT_DEFINED",
      "maxToObjectIds": 123,
      "typeId": 123
    }
  ]
}
'
{
  "completedAt": "2023-11-07T05:31:56Z",
  "results": [
    {
      "category": "HUBSPOT_DEFINED",
      "typeId": 123,
      "label": "<string>",
      "userEnforcedMaxToObjectIds": 123
    }
  ],
  "startedAt": "2023-11-07T05:31:56Z",
  "status": "CANCELED",
  "links": {},
  "requestedAt": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://developers.hubspot.es/docs/llms.txt

Use this file to discover all available pages before exploring further.

Supported products

Autorizaciones

Authorization
string
header
requerido

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

Parámetros de ruta

fromObjectType
string
requerido

El tipo del objeto de origen en la asociación.

toObjectType
string
requerido

El tipo del objeto de destino en la asociación.

Cuerpo

application/json
inputs
object[]
requerido

Respuesta

successful operation

completedAt
string<date-time>
requerido

La fecha y la hora en que se completó la operación por lotes.

results
object[]
requerido
startedAt
string<date-time>
requerido

La fecha y la hora en que se inició la operación por lotes.

status
enum<string>
requerido

El estado actual de la operación por lotes, que puede ser CANCELADO, COMPLETADO, PENDIENTE o PROCESANDO.

Opciones disponibles:
CANCELED,
COMPLETE,
PENDING,
PROCESSING

Un conjunto de URL que enlazan a la documentación relacionada o a los recursos asociados con la operación por lotes.

requestedAt
string<date-time>

La fecha y la hora en que se solicitó la operación en lote.

Last modified on April 13, 2026