Skip to content

HubSpot: Exports schemas

10 HubSpot schemas with complete fields and constraints.

← Exports operations · All schemas

Get the status of the export including the URL to download the file — response body

FieldTypePresenceDescription and constraints
$objectRoot
completedAtstringRequired within parentThe timestamp when the export was completed, in ISO 8601 format.
Format: date-time
errorsarrayOptionalAn array of StandardError objects detailing any errors that occurred during the export task.
errors[]ModelEach itemExpand Get the status of the export including the URL to download the file — response body — errors item
linksobjectOptionalA collection of related links associated with the export.
Additional keys: see wildcard field
links.*stringAdditional keys
numErrorsJSONOptional
numErrors (anyOf 1)integerAlternativeThe number of errors encountered during the export process.
Format: int32
numErrors (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
requestedAtstringOptionalThe timestamp when the export request was made, in ISO 8601 format.
Format: date-time
resultstringOptionalThe URL of the resulting file if the export status is COMPLETE.
startedAtstringRequired within parentThe timestamp when the export process started, in ISO 8601 format.
Format: date-time
statusstringRequired within parentThe current status of the export, which can be PENDING, PROCESSING, COMPLETE or CANCELED.
Known values: CANCELED, COMPLETE, PENDING, PROCESSING

Referenced models: Get the status of the export including the URL to download the file — response body — errors item

Get the status of the export including the URL to download the file — response body — errors item

FieldTypePresenceDescription and constraints
$objectRootYe olde error
categorystringRequired within parentA string indicating the general category of the error.
contextobjectRequired within parentContext about the error condition
Additional keys: see wildcard field
context.*arrayAdditional keys
context.*[]stringEach item
errorsarrayRequired within parentAn array of ErrorDetail objects providing further information about the error.
errors[]ModelEach itemExpand Batch insert events — response body — errors item errors item
idstringOptionalA string that uniquely identifies this error instance.
linksobjectRequired within parentAn object mapping link names to associated URIs that contain documentation about the error or recommended remediation steps.
Additional keys: see wildcard field
links.*stringAdditional keys
messagestringRequired within parentA human readable message describing the error along with remediation steps where appropriate
statusstringRequired within parentA string representing the status of the error.
subCategoryobjectOptionalA specific category that contains more specific detail about the error

Referenced models: Batch insert events — response body — errors item errors item

Retrieve details of a specific export by its unique ID — response body

FieldTypePresenceDescription and constraints
$objectRoot
createdAtstringRequired within parentThe timestamp when the export was created, in ISO 8601 format.
Format: date-time
exportNamestringOptionalThe name assigned to the export.
exportStatestringRequired within parentThe current state of the export process.
Known values: CANCELED, CONFLICT, DEFERRED, DELETED, DONE, ENQUEUED, FAILED, PENDING_APPROVAL, PROCESSING
exportTypestringRequired within parentThe type of export, which can be either VIEW or LIST.
Known values: LIST, VIEW
idstringRequired within parentThe unique ID of the export.
objectPropertiesarrayRequired within parentThe list of properties exported for the associated object.
objectProperties[]stringEach item
objectTypestringRequired within parentThe associated CRM object being exported.
recordCountJSONOptional
recordCount (anyOf 1)integerAlternativeThe total number of records included in the export.
Format: int32
recordCount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
updatedAtstringRequired within parentThe timestamp when the export was last updated, in ISO 8601 format.
Format: date-time

Start an export — request body — body

FieldTypePresenceDescription and constraints
$JSONRoot
$ (oneOf 1)ModelAlternativeExpand Start an export — request body — body / exportType: VIEW, format: CSV, XLS, XLSX
$ (oneOf 2)ModelAlternativeExpand Start an export — request body — body / exportType: LIST, format: CSV, XLS, XLSX

Referenced models: Start an export — request body — body / exportType: LIST, format: CSV, XLS, XLSX, Start an export — request body — body / exportType: VIEW, format: CSV, XLS, XLSX

Start an export — request body — body / exportType: LIST, format: CSV, XLS, XLSX

FieldTypePresenceDescription and constraints
$objectRoot
associatedObjectTypearrayRequired within parentAn array of strings specifying the types of associated objects to include in the export.
associatedObjectType[]stringEach item
exportInternalValuesOptionsarrayRequired within parentAn array of strings indicating options for exporting internal values. Valid values are 'NAMES' and 'VALUES'.
exportInternalValuesOptions[]stringEach itemOne of: NAMES, VALUES
exportNamestringRequired within parentA string representing the name of the export.
exportTypestringRequired within parentA string indicating the type of export, which is 'LIST' by default.
Default: LIST
One of: LIST
formatstringRequired within parentA string specifying the format of the export file. Valid values are 'XLS', 'XLSX', and 'CSV'.
One of: CSV, XLS, XLSX
includeLabeledAssociationsbooleanRequired within parentA boolean indicating whether to include labeled associations in the export.
includePrimaryDisplayPropertyForAssociatedObjectsbooleanRequired within parentA boolean indicating whether to include the primary display property for associated objects.
languagestringRequired within parentA string specifying the language for the export. Valid values include language codes such as 'EN', 'FR', 'DE', etc.
One of: AF_ZA, AR_EG, BG, BN, CA_ES, CS, DA_DK, DE, EL_GR, EN, EN_GB, ES, ES_MX, ET_EE, FI, FR, FR_CA, HE_IL, HI_IN, HR, HU, ID, IT, JA, KO_KR, LT_LT, MS, NL, NO, PL, PT_BR, PT_PT, RO, RU, SK_SK, SL, SV, TH, TL, TR, UK, VI_VN, ZH_CN, ZH_HK, ZH_TW
listIdstringRequired within parentA string representing the ID of the list to be exported.
objectPropertiesarrayRequired within parentAn array of strings listing the properties of the objects to be included in the export.
objectProperties[]stringEach item
objectTypestringRequired within parentA string representing the type of objects being exported.
overrideAssociatedObjectsPerDefinitionPerRowLimitbooleanRequired within parentA boolean indicating whether to override the limit on associated objects per definition per row.

Start an export — request body — body / exportType: VIEW, format: CSV, XLS, XLSX

FieldTypePresenceDescription and constraints
$objectRoot
associatedObjectTypearrayRequired within parentAn array of strings indicating the types of associated objects to include in the export.
associatedObjectType[]stringEach item
exportInternalValuesOptionsarrayRequired within parentAn array of strings specifying options for internal values in the export. Valid values are 'NAMES' and 'VALUES'.
exportInternalValuesOptions[]stringEach itemOne of: NAMES, VALUES
exportNamestringRequired within parentThe name assigned to the export, represented as a string.
exportTypestringRequired within parentThe type of export being requested. The only valid value is 'VIEW'.
Default: VIEW
One of: VIEW
formatstringRequired within parentThe file format for the export. Valid options are 'XLS', 'XLSX', and 'CSV'.
One of: CSV, XLS, XLSX
includeLabeledAssociationsbooleanRequired within parentA boolean indicating whether labeled associations should be included in the export.
includePrimaryDisplayPropertyForAssociatedObjectsbooleanRequired within parentA boolean indicating whether the primary display property for associated objects should be included.
languagestringRequired within parentThe language code for the export. Valid values include 'EN', 'FR', 'DE', 'JA', 'ES', 'PT_BR', 'NL', 'BN', 'CS', 'DA_DK', 'EL_GR', 'ES_MX', 'FI', 'HR', 'HU', 'ID', 'IT', 'KO_KR', 'NO', 'PL', 'RO', 'RU', 'SV', 'TH', 'VI_VN', 'ZH_CN', 'ZH_HK', 'AF_ZA', 'AR_EG', 'BG', 'CA_ES', 'SL', 'TR', 'UK', 'EN_GB', 'FR_CA', 'HE_IL', 'LT_LT', 'PT_PT', 'SK_SK', 'MS', 'TL', 'ZH_TW', 'HI_IN', 'ET_EE'.
One of: AF_ZA, AR_EG, BG, BN, CA_ES, CS, DA_DK, DE, EL_GR, EN, EN_GB, ES, ES_MX, ET_EE, FI, FR, FR_CA, HE_IL, HI_IN, HR, HU, ID, IT, JA, KO_KR, LT_LT, MS, NL, NO, PL, PT_BR, PT_PT, RO, RU, SK_SK, SL, SV, TH, TL, TR, UK, VI_VN, ZH_CN, ZH_HK, ZH_TW
objectPropertiesarrayRequired within parentAn array of strings specifying the properties of the object to be included in the export.
objectProperties[]stringEach item
objectTypestringRequired within parentA string representing the type of object being exported.
overrideAssociatedObjectsPerDefinitionPerRowLimitbooleanRequired within parentA boolean indicating whether to override the limit of associated objects per definition per row.
publicCrmSearchRequestModelOptionalExpand Start an export — request body — body / exportType: VIEW, format: CSV, XLS, XLSX public Crm Search Request

Referenced models: Start an export — request body — body / exportType: VIEW, format: CSV, XLS, XLSX public Crm Search Request

Start an export — request body — body / exportType: VIEW, format: CSV, XLS, XLSX public Crm Search Request

FieldTypePresenceDescription and constraints
$objectRoot
filterGroupsarrayRequired within parentAn array of filter groups, where each group contains multiple filters. This allows for complex filtering logic by combining multiple filters together.
filterGroups[]ModelEach itemExpand Start an export — request body — body / exportType: VIEW, format: CSV, XLS, XLSX public Crm Search Request filter Groups item
filtersarrayRequired within parentAn array of filter objects used to specify the criteria for the search. Each filter defines a property, an operator, and a value to filter by.
filters[]ModelEach itemExpand Start an export — request body — body / exportType: VIEW, format: CSV, XLS, XLSX public Crm Search Request filters item
querystringOptionalThe search query string, to filter CRM records.
sortsarrayRequired within parentDefines the order in which the CRM records should be returned.
sorts[]stringEach item

Referenced models: Start an export — request body — body / exportType: VIEW, format: CSV, XLS, XLSX public Crm Search Request filters item, Start an export — request body — body / exportType: VIEW, format: CSV, XLS, XLSX public Crm Search Request filter Groups item

Start an export — request body — body / exportType: VIEW, format: CSV, XLS, XLSX public Crm Search Request filter Groups item

FieldTypePresenceDescription and constraints
$objectRootRepresents a group of filters used to query data within HubSpot. This component is used to define criteria for filtering records in various API endpoints.
filtersarrayRequired within parentAn array of filter objects that define the criteria for the filter group. Each filter specifies a property, an operator, and a value to be used in the filtering process.
filters[]ModelEach itemExpand Start an export — request body — body / exportType: VIEW, format: CSV, XLS, XLSX public Crm Search Request filters item

Referenced models: Start an export — request body — body / exportType: VIEW, format: CSV, XLS, XLSX public Crm Search Request filters item

Start an export — request body — body / exportType: VIEW, format: CSV, XLS, XLSX public Crm Search Request filters item

FieldTypePresenceDescription and constraints
$objectRootDefines a single condition for searching CRM objects, specifying the property to filter on, the operator to use (such as equals, greater than, or contains), and the value(s) to compare against.
highValuestringOptionalA string representing the upper boundary value used with the 'BETWEEN' operator.
operatorstringRequired within parentThe operator used to compare the property value against the specified value(s). Valid operators include 'EQ', 'NEQ', 'LT', 'LTE', 'GT', 'GTE', 'BETWEEN', 'IN', 'NOT_IN', 'HAS_PROPERTY', 'NOT_HAS_PROPERTY', 'CONTAINS_TOKEN', and 'NOT_CONTAINS_TOKEN'.
One of: BETWEEN, CONTAINS_TOKEN, EQ, GT, GTE, HAS_PROPERTY, IN, LT, LTE, NEQ, NOT_CONTAINS_TOKEN, NOT_HAS_PROPERTY, NOT_IN
propertyNamestringRequired within parentThe name of the property to filter by. This is a string value.
valuestringOptionalA string representing the value to compare the property against when using certain operators.
valuesarrayOptionalAn array of string values used with operators like 'IN' and 'NOT_IN' to specify multiple comparison values.
values[]stringEach item

Start an export — response body

FieldTypePresenceDescription and constraints
$objectRoot
idstringRequired within parentThe unique ID of the export.
linksobjectOptionalAn object containing relevant links related to the export process.
Additional keys: see wildcard field
links.*stringAdditional keys

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.