Subscriber State Changes
Record a subscriber state by contact ID
Changed onRecord a subscriber state between multiple HubSpot contacts and a marketing event, using HubSpot contact IDs. Note that the contact must already exist in HubSpot; a contact will not be created.
post/marketing/marketing-events/2026-03/events/{externalEventId}/{subscriberState}/upsert
Request
- Base URLhttps://api.hubapi.com
- URLhttps://api.hubapi.com/marketing/marketing-events/2026-03/events/{externalEventId}/{subscriberState}/upsert
- Auth
- HTTP bearer
- or API key in query parameter hapikey
- or none
Path parameters
externalEventIdstring required
subscriberStatestring required
Query parameters
externalAccountIdstring required
Request body
Response
An error occurred.
Example response
{
"category": "VALIDATION_ERROR",
"correlationId": "aeb5f871-7f07-4993-9211-075dc63e7cbf",
"links": {
"knowledge-base": "https://www.hubspot.com/products/service/knowledge-base"
},
"message": "Invalid input (details will vary based on the error)"
}Changes
- info
api operation id
post-/marketing/marketing-events/2026-03/events/{externalEventId}/{subscriberState}/upsert_upsertByContactIdremoved and replaced withpost-/marketing/marketing-events/2026-03/events/{externalEventId}/{subscriberState}/upsert
- info
- info
endpoint added
- info
Some revisions have not been checked yet.