Skip to content

HubSpot: Single send schemas

4 HubSpot schemas with complete fields and constraints.

← Single send operations · All schemas

Send an email — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
contactPropertiesobjectRequired within parentThe contactProperties field is a map of contact property values. Each contact property value contains a name and value property. Each property will get set on the contact record and will be visible in the template under {{ contact.NAME }}. Use these properties when you want to set a contact property while you’re sending the email. For example, when sending a receipt you may want to set a last_paid_date property, as the sending of the receipt will have information about the last payment.
Additional keys: see wildcard field
contactProperties.*stringAdditional keys
customPropertiesobjectRequired within parentThe customProperties field is a map of property values. Each property value contains a name and value property. Each property will be visible in the template under {{ custom.NAME }}.
Note: Custom properties do not currently support arrays. To provide a listing in an email, one workaround is to build an HTML list (either with tables or ul) and specify it as a custom property.
Additional keys: see wildcard field
customProperties.*objectAdditional keys
emailIdintegerRequired within parentThe content ID for the email, which can be found in email tool UI.
Format: int64
messageModelRequired within parentExpand Send an email — request body — body message

Referenced models: Send an email — request body — body message

Send an email — request body — body message

FieldTypePresenceDescription and constraints
$objectRoot
bccarrayRequired within parentList of email addresses to send as Bcc.
bcc[]stringEach item
ccarrayRequired within parentList of email addresses to send as Cc.
cc[]stringEach item
fromstringOptionalThe From header for the email.
replyToarrayRequired within parentList of Reply-To header values for the email.
replyTo[]stringEach item
sendIdstringOptionalID for a particular send. No more than one email will be sent per sendId.
tostringOptionalThe recipient of the email.

Send an email — response body

FieldTypePresenceDescription and constraints
$objectRoot
completedAtstringOptionalTime when the send was completed.
Format: date-time
eventIdModelOptionalExpand Send an email — response body — event Id
messagestringOptionalA human readable message describing the error along with remediation steps where appropriate
requestedAtstringOptionalTime when the send was requested.
Format: date-time
sendResultstringOptionalResult of the send.
Known values: ADDRESS_LIST_BOMBED, ADDRESS_ONLY_ACCEPTED_ON_PROD, ADDRESS_OPTED_OUT, ATTACHMENT_DOWNLOAD_QUEUE_FULL, BLOCKED_ADDRESS, BLOCKED_DOMAIN, BRAND_RECIPIENT_FATIGUE_SUPPRESSED, CAMPAIGN_CANCELLED, CANCELLED_ABUSE, CONTACT_VIEW_PERMISSION, CORRUPT_INPUT, EMAIL_DISABLED, EMAIL_UNCONFIRMED, GDPR_DOI_ENABLED, GRAYMAIL_SUPPRESSED, HUBL_LIMIT_EXCEEDED, IDEMPOTENT_FAIL, IDEMPOTENT_IGNORE, INVALID_APP_ID_ATTRIBUTION, INVALID_FROM_ADDRESS, INVALID_TO_ADDRESS, LOW_CONTACT_QUALITY_SCORE, MARKETING_ACTIVATION_DISALLOWED, MISSING_CONTENT, MISSING_REQUIRED_PARAMETER, MISSING_TEMPLATE_PROPERTIES, MTA_IGNORE, NON_MARKETABLE_CONTACT, PORTAL_AUTHENTICATION_FAILURE, PORTAL_EXPIRED, PORTAL_MISSING_MARKETING_SCOPE, PORTAL_NOT_AUTHORIZED_FOR_APPLICATION, PORTAL_OVER_LIMIT, PORTAL_SUSPENDED, PREVIOUS_SPAM, PREVIOUSLY_BOUNCED, PREVIOUSLY_UNSUBSCRIBED_BRAND, PREVIOUSLY_UNSUBSCRIBED_BUSINESS_UNIT, PREVIOUSLY_UNSUBSCRIBED_MESSAGE, PREVIOUSLY_UNSUBSCRIBED_PORTAL, QUARANTINED_ADDRESS, QUEUED, RECIPIENT_FATIGUE_SUPPRESSED, SENT, TEMPLATE_RENDER_EXCEPTION, THROTTLED, TOO_MANY_RECIPIENTS, UBB_GOVERNANCE_MISSING, UNCONFIGURED_SENDING_DOMAIN, UNDELIVERABLE, VALIDATION_FAILED
startedAtstringOptionalTime when the send began processing.
Format: date-time
statusstringRequired within parentStatus of the send request.
Known values: CANCELED, COMPLETE, PENDING, PROCESSING
statusIdstringRequired within parentIdentifier used to query the status of the send.

Referenced models: Send an email — response body — event Id

Send an email — response body — event Id

FieldTypePresenceDescription and constraints
$objectRoot
createdstringRequired within parentTime of event creation.
Format: date-time
idstringRequired within parentIdentifier of event.
Format: uuid

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.