Saltar al contenido principal
POST
/
webhooks-journal
/
subscriptions
/
2026-03
cURL
curl --request POST \
  --url https://api.hubapi.com/webhooks-journal/subscriptions/2026-03 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "subscriptionType": "OBJECT",
  "portalId": 123,
  "actions": [
    "CREATE"
  ],
  "objectTypeId": "<string>",
  "objectIds": [
    123
  ],
  "properties": [
    "<string>"
  ]
}
'
{
  "actions": [
    "CREATE"
  ],
  "appId": 123,
  "createdAt": "2023-11-07T05:31:56Z",
  "id": 123,
  "objectTypeId": "<string>",
  "subscriptionType": "APP_LIFECYCLE_EVENT",
  "updatedAt": "2023-11-07T05:31:56Z",
  "actionOverrides": {},
  "associatedObjectTypeIds": [
    "<string>"
  ],
  "createdBy": 123,
  "deletedAt": "2023-11-07T05:31:56Z",
  "listIds": [
    123
  ],
  "objectIds": [
    123
  ],
  "portalId": 123,
  "properties": [
    "<string>"
  ]
}

Supported products

Autorizaciones

Authorization
string
header
requerido

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

Cuerpo

application/json
subscriptionType
enum<string>
predeterminado:OBJECT
requerido
Opciones disponibles:
OBJECT,
ASSOCIATION,
EVENT,
APP_LIFECYCLE_EVENT,
LIST_MEMBERSHIP,
GDPR_PRIVACY_DELETION
portalId
integer<int64>
requerido
actions
enum<string>[]
requerido
Opciones disponibles:
CREATE,
UPDATE,
DELETE,
MERGE,
RESTORE,
ASSOCIATION_ADDED,
ASSOCIATION_REMOVED,
SNAPSHOT,
APP_INSTALL,
APP_UNINSTALL,
ADDED_TO_LIST,
REMOVED_FROM_LIST,
GDPR_DELETE
objectTypeId
string
requerido
objectIds
integer<int64>[]
requerido
properties
string[]
requerido

Respuesta

successful operation

actions
enum<string>[]
requerido
Opciones disponibles:
CREATE,
UPDATE,
DELETE,
MERGE,
RESTORE,
ASSOCIATION_ADDED,
ASSOCIATION_REMOVED,
SNAPSHOT,
APP_INSTALL,
APP_UNINSTALL,
ADDED_TO_LIST,
REMOVED_FROM_LIST,
GDPR_DELETE
appId
integer<int64>
requerido
createdAt
string<date-time>
requerido

La marca de tiempo en que se creó la suscripción al webhook, en formato ISO 8601 (por ejemplo, 2020-02-29T12:30:00Z).

id
integer<int64>
requerido

El ID único de la suscripción al webhook.

objectTypeId
string
requerido

El ID del tipo de objeto para la suscripción. Puede ser un objeto estándar del CRM (por ejemplo, "contacto", "empresa", "negocio") o un ID de objeto personalizado para suscripciones de objetos personalizados.

subscriptionType
enum<string>
requerido
Opciones disponibles:
APP_LIFECYCLE_EVENT,
ASSOCIATION,
EVENT,
GDPR_PRIVACY_DELETION,
LIST_MEMBERSHIP,
OBJECT
updatedAt
string<date-time>
requerido

La marca de tiempo de la última actualización de la suscripción al webhook, en formato ISO 8601 (por ejemplo, 2020-02-29T12:30:00Z).

actionOverrides
object
associatedObjectTypeIds
string[]
createdBy
integer<int64>
deletedAt
string<date-time>
listIds
integer<int64>[]
objectIds
integer<int64>[]
portalId
integer<int64>
properties
string[]
Last modified on April 14, 2026