POST
/
webhooks
/
v3
/
{appId}
/
subscriptions
/
batch
/
update
Criar assinaturas de eventos em lote
curl --request POST \
  --url https://api.hubapi.com/webhooks/v3/{appId}/subscriptions/batch/update \
  --header 'Content-Type: application/json' \
  --data '{
  "inputs": [
    {
      "active": true,
      "id": 123
    }
  ]
}'
{
  "completedAt": "2023-11-07T05:31:56Z",
  "requestedAt": "2023-11-07T05:31:56Z",
  "startedAt": "2023-11-07T05:31:56Z",
  "links": {},
  "results": [
    {
      "createdAt": "2023-11-07T05:31:56Z",
      "objectTypeId": "<string>",
      "propertyName": "<string>",
      "active": true,
      "eventType": "contact.propertyChange",
      "id": "<string>",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "status": "PENDING"
}
Produtos suportados
Requer um dos seguintes produtos ou superior.
Marketing HubMarketing HubProfessional
Sales HubSales HubProfessional
Service HubService HubProfessional
Content HubContent HubStarter

Authorizations

hapikey
string
query
required

Path Parameters

appId
integer
required

O ID do aplicativo.

Body

application/json

Response

successful operation

The response is of type object.