---
title: "Record Participants by Email with Marketing Event Object Id"
method: POST
path: "/marketing/v3/marketing-events/{objectId}/attendance/{subscriberState}/email-create"
tags: ["Event Attendees"]
---

# Record Participants by Email with Marketing Event Object Id

`POST /marketing/v3/marketing-events/{objectId}/attendance/{subscriberState}/email-create`

## Request

- Base URL: `https://api.hubapi.com`
- URL: `https://api.hubapi.com/marketing/v3/marketing-events/{objectId}/attendance/{subscriberState}/email-create`
- Auth: OAuth 2
  - Authorization code: `https://app.hubspot.com/oauth/authorize`
  - Token URL: `https://api.hubapi.com/oauth/v1/token` scopes: `crm.objects.marketing_events.write`

Records the participation of multiple HubSpot contacts in a Marketing Event using their email addresses.

If a contact does not exist, it will be automatically created. The contactProperties field is used exclusively for creating new contacts and will not update properties of existing contacts.

Additional Functionality:
- Adds a timeline event to the contacts.

Allowed Properties:
For the state "attend":
- joinedAt
- leftAt

## Path parameters

- `objectId` string, required
- `subscriberState` string, required

## Request body

- BatchInputMarketingEventEmailSubscriber
  - `inputs` MarketingEventEmailSubscriber[], required: List of marketing event details to create or update
    - `contactProperties` object, required: The key-value set that contains properties of the contact.
    - `email` string, required: The email address of the contact in HubSpot to associate with the event.
    - `interactionDateTime` integer, required: Timestamp in milliseconds at which the contact subscribed to the event.
    - `properties` object, required: The key-value set that contains properties of the marketing event.

## Response `200`

successful operation

- BatchResponseSubscriberEmailResponse
  - `completedAt` string, date-time, required: Timestamp that represents when the request finished processing
  - `errors` StandardError[]
    - `category` string, required: The category of the error
    - `context` object, required: The object that contains details of the errors
    - `errors` ErrorDetail[], required: The detailed error objects.
      - `code` string: The status code associated with the error detail
      - `context` object: Context about the error condition
      - `in` string: The name of the field or parameter in which the error was found.
      - `message` string, required: A human readable message describing the error along with remediation steps where appropriate
      - `subCategory` string: A specific category that contains more specific detail about the error
    - `id` string: The ID of the request
    - `links` object, required: Results of the request
    - `message` string, required: A human readable message describing the error along with remediation steps where appropriate
    - `status` string, required: Status of the response
    - `subCategory` object: The Sub-category of the error
  - `links` object: Result of the request
  - `numErrors` integer: The number of errors that occurred during the processing
  - `requestedAt` string, date-time: Timestamp that represents when the request was made
  - `results` SubscriberEmailResponse[], required
    - `email` string, required: The email of the contact
    - `vid` integer, required: The internal ID of the contact
  - `startedAt` string, date-time, required: Timestamp that represents when the request started processing
  - `status` 'CANCELED' | 'COMPLETE' | 'PENDING' | 'PROCESSING', required: The status of the request processing

## Other responses

- `default`: An error occurred.

## Changes

- **2026-08-17** (v3) `e1f0e463c8c3`: 1 info
  - endpoint added
- **2026-07-13** (v3) `7b132ea7ce5b`: 1 breaking
  - api path removed without deprecation
- **2026-05-22** (v3) `19bd139b8e75`: 2 info
  - the security scope `crm.objects.marketing_events.write` was added to the endpoint's security scheme `oauth2`
  - the security scope `marketing-events-write` was removed from the endpoint's security scheme `oauth2`
- **2026-04-21** (v3) `8260db4d2846`: 1 breaking
  - the `results/items/vid` response's property format changed from `int32` to `int64` for status `200`
- **2026-04-09** (v3) `f80533b4a1e0`: 4 info
  - api operation id `post-/marketing/v3/marketing-events/{objectId}/attendance/{subscriberState}/email-create` removed and replaced with `post-/marketing/v3/marketing-events/{objectId}/attendance/{subscriberState}/email-create_recordByEmail`
  - the endpoint scheme security `private_apps` was removed from the API
  - the security scope `marketing-events-write` was added to the endpoint's security scheme `oauth2`
  - the security scope `crm.objects.marketing_events.write` was removed from the endpoint's security scheme `oauth2`

[Operation history](https://skmtc.dev/hubspot/apis/marketing-marketing-events/changes/marketing/v3/marketing-events/:objectId/attendance/:subscriberState/email-create/post.md)

---

[API](https://skmtc.dev/hubspot/apis/marketing-marketing-events.md) - [All operations](https://skmtc.dev/hubspot/apis/marketing-marketing-events/llms.txt) - [OpenAPI document](https://skmtc.dev/hubspot/apis/marketing-marketing-events/revisions/165e6b352bc2?raw)
