Skip to main content
PATCH
Update HubSpot account settings

Request contract

  • Method and path: PATCH /apis/v1/social/accounts/{accountId}/hubspot-settings
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/social/accounts/{accountId}/hubspot-settings
  • accountId: path; required
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

No additional charge for this operation.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

accountId
string
required

One of your social accounts (acc_...).

Pattern: ^acc_[0-9A-Za-z]{22}$

Body

application/json
logMessages
boolean

Log inbound and outbound inbox messages on the contact's HubSpot timeline.

reportDeals
boolean

Send each deal that becomes closed won as a Purchase to the profile's event destinations, about once an hour. Requires the portal to have granted crm.objects.deals.read; otherwise 400. Deals closed before it was turned on are not sent.

syncContacts
boolean

Create a HubSpot contact for an inbox contact that matches none by email or phone. A match is linked as it is and never updated.

Response

Updated settings

account
object
message
string