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>"
]
}Erstellen Sie ein neues Webhook-Abonnement für das angegebene Portal im HubSpot-Account. Dieser Endpunkt ermöglicht es Ihnen, die Abonnementdetails zu definieren, einschließlich der Event-Typen, die Sie abonnieren möchten. Der Anfragetext muss die erforderlichen Abonnementinformationen gemäß dem SubscriptionUpsertRequest-Schema enthalten.
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>"
]
}Documentation Index
Fetch the complete documentation index at: https://developers.hubspot.de/docs/llms.txt
Use this file to discover all available pages before exploring further.
Supported products
The access token received from the authorization server in the OAuth 2.0 flow.
OBJECT, ASSOCIATION, EVENT, APP_LIFECYCLE_EVENT, LIST_MEMBERSHIP, GDPR_PRIVACY_DELETION CREATE, UPDATE, DELETE, MERGE, RESTORE, ASSOCIATION_ADDED, ASSOCIATION_REMOVED, SNAPSHOT, APP_INSTALL, APP_UNINSTALL, ADDED_TO_LIST, REMOVED_FROM_LIST, GDPR_DELETE successful operation
Eine Liste von Aktionen, die das Abonnement auslösen. Mögliche Werte sind „CREATE“, „UPDATE“, „DELETE“, „MERGE“, „RESTORE“, „ASSOCIATION_ADDED“, „ASSOCIATION_REMOVED“, „SNAPSHOT“, „APP_INSTALL“, „APP_UNINSTALL“, „ADDED_TO_LIST“, „REMOVED_FROM_LIST“ und „GDPR_DELETE“.
CREATE, UPDATE, DELETE, MERGE, RESTORE, ASSOCIATION_ADDED, ASSOCIATION_REMOVED, SNAPSHOT, APP_INSTALL, APP_UNINSTALL, ADDED_TO_LIST, REMOVED_FROM_LIST, GDPR_DELETE Die eindeutige ID für die App, die mit dem Abonnement verknüpft ist. Es handelt sich um eine Ganzzahl im int64-Format.
Der Zeitpunkt (Datum und Uhrzeit), zu dem das Abonnement im ISO-8601-Format erstellt wurde.
Die eindeutige ID für das Abonnement. Es handelt sich um eine Ganzzahl im int64-Format.
Die ID für den Objekttyp, der mit dem Abonnement verknüpft ist. Es handelt sich um eine Zeichenfolge.
Der Abonnementtyp. Folgende Typen sind zulässig: „OBJECT“, „ASSOCIATION“, „EVENT“, „APP_LIFECYCLE_EVENT“, „LIST_MEMBERSHIP“ oder „GDPR_PRIVACY_DELETION“.
APP_LIFECYCLE_EVENT, ASSOCIATION, EVENT, GDPR_PRIVACY_DELETION, LIST_MEMBERSHIP, OBJECT Der Zeitpunkt (Datum und Uhrzeit), zu dem das Abonnement im ISO-8601-Format zuletzt aktualisiert wurde.
Ein Objekt, das Aktionsüberschreibungen enthält, wobei jeder Schlüssel eine Aktion und der Wert ein ActionOverrideRequest-Objekt ist.
Show child attributes
Eine Liste der IDs der zugeordneten Objekttypen. Jede ID ist eine Zeichenfolge.
Die ID des Benutzers, der das Abonnement erstellt hat. Es handelt sich um eine Ganzzahl im int64-Format.
Der Zeitpunkt (Datum und Uhrzeit), zu dem das Abonnement im ISO-8601-Format gelöscht wurde, falls zutreffend.
Eine Liste der Listen-IDs, die dem Abonnement zugeordnet sind. Jede ID ist eine Ganzzahl im int64-Format.
Eine Liste der Objekt-IDs, die dem Abonnement zugeordnet sind. Jede ID ist eine Ganzzahl im int64-Format.
Die eindeutige ID für das Portal, das mit dem Abonnement verknüpft ist. Es handelt sich um eine Ganzzahl im int64-Format.
Eine Liste der Eigenschaftsnamen, die dem Abonnement zugeordnet sind. Jede Eigenschaft ist eine Zeichenfolge.