v1

latestOpenAPI 3.0.12026-07-14162636.1 KB
Attendance Subscriber State Changes

Record

Record a subscription state between multiple HubSpot contacts and a marketing event, using HubSpot contact ids.

post/marketing/v3/marketing-events/attendance/{externalEventId}/{subscriberState}/create

Path parameters

externalEventIdstring required

The id of the marketing event

subscriberStatestring required

The new subscriber state for the HubSpot contacts and the specified marketing event. For example: 'register', 'attend' or 'cancel'.

Query parameters

externalAccountIdstring

The account id associated with the marketing event

Request body

Response

successful operation

completedAtstring date-time required
linksobject
numErrorsinteger
requestedAtstring date-time
startedAtstring date-time required
status'PENDING' | 'PROCESSING' | 'CANCELED' | 'COMPLETE' required

Example response

{
  "errors": [
    {
      "errors": [
        {
          "context": {
            "missingScopes": [
              "scope1",
              "scope2"
            ]
          }
        }
      ]
    }
  ]
}
All 16 operations