Basic

Upsert subscription

Changed on

Create a new webhook journal subscription for the specified portal. This endpoint allows you to define the actions and object types that the subscription will monitor. It requires a request body with the subscription details.

post/webhooks-journal/subscriptions/2027-03-beta

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/webhooks-journal/subscriptions/2027-03-beta
  • Auth
    none required

Request body

OR
OR
OR
OR

Response

successful operation

actionOverridesobject
actionsstring[] required
appIdinteger required
associatedObjectTypeIdsstring[]
createdAtstring date-time required
createdByinteger
deletedAtstring date-time
idinteger required
includeSensitivePropertiesChangedboolean
listIdsinteger[]
objectIdsinteger[]
objectTypeIdstring required
portalIdinteger
propertiesstring[]
subscriptionType'APP_LIFECYCLE_EVENT' | 'ASSOCIATION' | 'EVENT' | 'GDPR_PRIVACY_DELETION' | 'LIST_MEMBERSHIP' | 'OBJECT' required
updatedAtstring date-time required

Changes

  • 2027-03-beta52ad3f66d668Revision changes
    • breaking

      removed from the request body oneOf list

    • info

      added to the request body oneOf list

    • info

      added the optional property to the response with the status

  • 2027-03-beta9a67db8e1ed3Revision changes
    • info

      the endpoint scheme security oauth2 was removed from the API