curl --request PATCH \
--url https://api.hubapi.com/webhooks/2026-03/{appId}/subscriptions/{subscriptionId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"active": true
}'{
"active": true,
"createdAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"eventTypeName": "<string>",
"objectTypeId": "<string>",
"propertyName": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}Update an existing event subscription by ID.
curl --request PATCH \
--url https://api.hubapi.com/webhooks/2026-03/{appId}/subscriptions/{subscriptionId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"active": true
}'{
"active": true,
"createdAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"eventTypeName": "<string>",
"objectTypeId": "<string>",
"propertyName": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}Documentation Index
Fetch the complete documentation index at: https://developers.hubspot.com/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.
The identifier for the app.
The identifier for the subscription.
A boolean indicating whether the subscription is active. If true, the subscription is active; if false, it is inactive.
successful operation
A boolean indicating whether the subscription is currently active.
The date and time when the subscription was created, in ISO 8601 format.
The type of event that triggers the subscription. Valid values include various property changes, creations, deletions, merges, restores, and association changes for different HubSpot objects.
company.associationChange, company.creation, company.deletion, company.merge, company.propertyChange, company.restore, contact.associationChange, contact.creation, contact.deletion, contact.merge, contact.privacyDeletion, contact.propertyChange, contact.restore, conversation.creation, conversation.deletion, conversation.newMessage, conversation.privacyDeletion, conversation.propertyChange, deal.associationChange, deal.creation, deal.deletion, deal.merge, deal.propertyChange, deal.restore, event.completed, line_item.associationChange, line_item.creation, line_item.deletion, line_item.merge, line_item.propertyChange, line_item.restore, object.associationChange, object.creation, object.deletion, object.merge, object.propertyChange, object.restore, product.creation, product.deletion, product.merge, product.propertyChange, product.restore, ticket.associationChange, ticket.creation, ticket.deletion, ticket.merge, ticket.propertyChange, ticket.restore The unique identifier for the subscription. It is an integer formatted as int64.
The name of the event type for the subscription.
The identifier for the object type associated with the subscription. It is a string.
The name of the property associated with the subscription event, if applicable.
The date and time when the subscription was last updated, in ISO 8601 format.
Was this page helpful?