Record a subscriber state by contact email
POST {{baseUrl}}/marketing/v3/marketing-events/attendance/:externalEventId/:subscriberState/email-create?externalAccountId=<string>
Record a subscription state between multiple HubSpot contacts and a marketing event, using contact email addresses. If contact is not present it will be automatically created.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
externalAccountId | string | The account id associated with the marketing event |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"completedAt":"\u003cdateTime\u003e","results":[{"email":"\u003cstring\u003e","vid":"\u003cinteger\u003e"},{"email":"\u003cstring\u003e","vid":"\u003cinteger\u003e"}],"startedAt":"\u003cdateTime\u003e","status":"PENDING","numErrors":"\u003cinteger\u003e","requestedAt":"\u003cdateTime\u003e","links":{"dolor_c":"\u003cstring\u003e","est_f8_":"\u003cstring\u003e","ullamco_4":"\u003cstring\u003e"},"errors":[{"category":"\u003cstring\u003e","context":{"adf2":["\u003cstring\u003e","\u003cstring\u003e"],"nostrud_6c":["\u003cstring\u003e","\u003cstring\u003e"]},"errors":[{"message":"\u003cstring\u003e","subCategory":"\u003cstring\u003e","code":"\u003cstring\u003e","in":"\u003cstring\u003e","context":{"aliqua_f9d":["\u003cstring\u003e","\u003cstring\u003e"]}},{"message":"\u003cstring\u003e","subCategory":"\u003cstring\u003e","code":"\u003cstring\u003e","in":"\u003cstring\u003e","context":{"Duis_86":["\u003cstring\u003e","\u003cstring\u003e"]}}],"links":{"in_":"\u003cstring\u003e"},"message":"\u003cstring\u003e","status":"\u003cstring\u003e","subCategory":{},"id":"\u003cstring\u003e"},{"category":"\u003cstring\u003e","context":{"velit_c3_":["\u003cstring\u003e","\u003cstring\u003e"],"dolor29":["\u003cstring\u003e","\u003cstring\u003e"],"iruref05":["\u003cstring\u003e","\u003cstring\u003e"]},"errors":[{"message":"\u003cstring\u003e","subCategory":"\u003cstring\u003e","code":"\u003cstring\u003e","in":"\u003cstring\u003e","context":{"et52":["\u003cstring\u003e","\u003cstring\u003e"],"laborum6":["\u003cstring\u003e","\u003cstring\u003e"]}},{"message":"\u003cstring\u003e","subCategory":"\u003cstring\u003e","code":"\u003cstring\u003e","in":"\u003cstring\u003e","context":{"occaecat__c":["\u003cstring\u003e","\u003cstring\u003e"]}}],"links":{"occaecat_1d":"\u003cstring\u003e"},"message":"\u003cstring\u003e","status":"\u003cstring\u003e","subCategory":{},"id":"\u003cstring\u003e"}]}