Bulk export of custom events from a half-open occurredAt range, ordered by occurredAt ascending. Each event’s own payload is returned as a JSON object under data. The contact’s current email and user ID are resolved per row on a best-effort basis (contactEmail and userId may be null if the contact no longer exists).
Send occurredAt on the first call, then pass the opaque cursor returned as pagination.nextCursor back as cursor on every later call. A null cursor means there are no more results. Persist the last non-null cursor between syncs to resume. The range may be arbitrarily long and is walked in bounded segments internally, so an empty page with a non-null cursor means there are more results to come rather than the end of the export.
Request access. This endpoint is not enabled by default, contact the Conversion team to request access. Calls from accounts without it return 403 export_not_enabled.
The half-open occurredAt range to export, from start up to but not including end. Required on the first call, and omitted on later calls because the cursor carries the range. Supplying both occurredAt and cursor returns an invalid_window error.
The opaque pagination cursor returned as pagination.nextCursor by a previous call. Omit (or pass an empty string) to fetch the first page. Send it on its own, with no occurredAt. An invalid or malformed cursor returns an invalid_cursor error.
The maximum number of events to return per page. Defaults to 1000. Values are clamped to the range [1, 1000] rather than rejected; values above 1000 return 1000 results.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Conversion Docs","colors":{"primary":"#2C789F","light":"#3791C0","dark":"#225E7D"},"logo":{"light":"https://mintcdn.com/conversion/M0RNTMA370yH2H5Y/logo/light.svg?fit=max\u0026auto=format\u0026n=M0RNTMA370yH2H5Y\u0026q=85\u0026s=dd94915bb123e2ceb1ca67d31e896f3a","dark":"https://mintcdn.com/conversion/M0RNTMA370yH2H5Y/logo/dark.svg?fit=max\u0026auto=format\u0026n=M0RNTMA370yH2H5Y\u0026q=85\u0026s=2020c26ba331777bd667dcef815a57b2"},"favicon":"https://mintcdn.com/conversion/T2lj7tkL3i8HhLKA/favicon.svg?fit=max\u0026auto=format\u0026n=T2lj7tkL3i8HhLKA\u0026q=85\u0026s=d005c78403dd8b918a4768e913932fe4","api":{"playground":{"display":"interactive"}},"navbar":{"links":[],"primary":{"type":"button","label":"Dashboard","href":"https://app.conversion.ai"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/tryconversion","x":"https://x.com/tryconversion","instagram":"https://www.instagram.com/tryconversion","youtube":"https://www.youtube.com/@tryconversion"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"conversion","hasAudioNarration":false,"actualSubdomain":"conversion","customDomains":["docs.conversion.ai"],"gitSource":{"type":"github","owner":"tapp-ai","repo":"mega","deployBranch":"main","contentDirectory":"product-docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af63717ac5cf20351d85527","clientVersion":"0.0.4117","searchFilterCounts":[{"language":"default","tag":"Product Docs","count":227},{"language":"default","tag":"Workspace Settings","count":44},{"language":"default","tag":"Workflows","count":35},{"language":"default","tag":"Campaigns","count":34},{"language":"default","tag":"API Reference","count":32},{"language":"default","tag":"Nodes","count":25},{"language":"default","tag":"Data Syncing","count":23},{"language":"default","tag":"Forms","count":19},{"language":"default","tag":"Conversion AI","count":17},{"language":"default","tag":"Records","count":16}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/export-custom-events","slug":"/api-reference/export-custom-events","pageMetadata":{"title":"Export Custom Events","description":"Bulk export of custom events from a half-open `occurredAt` range, ordered by `occurredAt` ascending. Each event's own payload is returned as a JSON object under `data`. The contact's current email and user ID are resolved per row on a best-effort basis (`contactEmail` and `userId` may be `null` if the contact no longer exists).\n\nSend `occurredAt` on the first call, then pass the opaque cursor returned as `pagination.nextCursor` back as `cursor` on every later call. A `null` cursor means there are no more results. Persist the last non-null cursor between syncs to resume. The range may be arbitrarily long and is walked in bounded segments internally, so an empty page with a non-null cursor means there are more results to come rather than the end of the export.\n\n> **Request access.** This endpoint is not enabled by default, contact the Conversion team to request access. Calls from accounts without it return `403 export_not_enabled`.","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/exports/custom-events","href":"/api-reference/export-custom-events","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n blockquote: \"blockquote\",\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Bulk export of custom events from a half-open \", _jsx(_components.code, {\n children: \"occurredAt\"\n }), \" range, ordered by \", _jsx(_components.code, {\n children: \"occurredAt\"\n }), \" ascending. Each event’s own payload is returned as a JSON object under \", _jsx(_components.code, {\n children: \"data\"\n }), \". The contact’s current email and user ID are resolved per row on a best-effort basis (\", _jsx(_components.code, {\n children: \"contactEmail\"\n }), \" and \", _jsx(_components.code, {\n children: \"userId\"\n }), \" may be \", _jsx(_components.code, {\n children: \"null\"\n }), \" if the contact no longer exists).\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Send \", _jsx(_components.code, {\n children: \"occurredAt\"\n }), \" on the first call, then pass the opaque cursor returned as \", _jsx(_components.code, {\n children: \"pagination.nextCursor\"\n }), \" back as \", _jsx(_components.code, {\n children: \"cursor\"\n }), \" on every later call. A \", _jsx(_components.code, {\n children: \"null\"\n }), \" cursor means there are no more results. Persist the last non-null cursor between syncs to resume. The range may be arbitrarily long and is walked in bounded segments internally, so an empty page with a non-null cursor means there are more results to come rather than the end of the export.\"]\n }), \"\\n\", _jsxs(_components.blockquote, {\n children: [\"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Request access.\"\n }), \" This endpoint is not enabled by default, contact the Conversion team to request access. Calls from accounts without it return \", _jsx(_components.code, {\n children: \"403 export_not_enabled\"\n }), \".\"]\n }), \"\\n\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Export Custom Events","description":"Bulk export of custom events from a half-open `occurredAt` range, ordered by `occurredAt` ascending. Each event's own payload is returned as a JSON object under `data`. The contact's current email and user ID are resolved per row on a best-effort basis (`contactEmail` and `userId` may be `null` if the contact no longer exists).\n\nSend `occurredAt` on the first call, then pass the opaque cursor returned as `pagination.nextCursor` back as `cursor` on every later call. A `null` cursor means there are no more results. Persist the last non-null cursor between syncs to resume. The range may be arbitrarily long and is walked in bounded segments internally, so an empty page with a non-null cursor means there are more results to come rather than the end of the export.\n\n> **Request access.** This endpoint is not enabled by default, contact the Conversion team to request access. Calls from accounts without it return `403 export_not_enabled`.","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/exports/custom-events","href":"/api-reference/export-custom-events","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"exportCustomEvents","summary":"Export Custom Events","description":"Bulk export of custom events from a half-open `occurredAt` range, ordered by `occurredAt` ascending. Each event's own payload is returned as a JSON object under `data`. The contact's current email and user ID are resolved per row on a best-effort basis (`contactEmail` and `userId` may be `null` if the contact no longer exists).\n\nSend `occurredAt` on the first call, then pass the opaque cursor returned as `pagination.nextCursor` back as `cursor` on every later call. A `null` cursor means there are no more results. Persist the last non-null cursor between syncs to resume. The range may be arbitrarily long and is walked in bounded segments internally, so an empty page with a non-null cursor means there are more results to come rather than the end of the export.\n\n> **Request access.** This endpoint is not enabled by default, contact the Conversion team to request access. Calls from accounts without it return `403 export_not_enabled`.","requestBody":"8b0fdfde-07b9-4299-a3f0-3614419b07ea","responses":{"200":"0be0cc42-2318-4d01-9d9f-d78b10191258","400":"ee83e5c6-6572-4746-ba04-8a4eee73c3c9","401":"8d2a34ae-3c7f-45a8-948d-c9d35b17aa6b","403":"846fd4e1-6cb6-464e-83f7-38a504c14b3d","500":"936f0bbe-95c5-4292-acdd-d09d8dac82dc"},"method":"post","type":"path","servers":["e3ed283f-d0eb-4402-99e1-063950ef0c3a"],"security":["2a3d928d-44fb-4185-a55c-18ac68131732","7b695cb3-04d3-40ee-9fe0-469752c5abf3"],"path":"/v2/exports/custom-events","baseUrlOptions":["https://pub-api.conversion.ai/api"],"title":"Export Custom Events","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"occurredAt":{"type":"object","description":"The half-open `occurredAt` range to export, from `start` up to but not including `end`. Required on the first call, and omitted on later calls because the cursor carries the range. Supplying both `occurredAt` and `cursor` returns an `invalid_window` error.","required":["start"],"properties":{"start":{"type":"string","format":"date-time","description":"The start of the range. Events that occurred at exactly this time are included. Omitting it on a call without a `cursor` returns an `invalid_window` error.","examples":["2026-08-01T00:00:00Z"],"isRequired":true,"uniqueKey":"occurredAt.start","typeLabel":"string\u003cdate-time>"},"end":{"type":"string","format":"date-time","description":"The end of the range. Events that occurred at exactly this time are excluded, so consecutive ranges can be exported without repeating a boundary event. Omit it to export everything up to the time each page is served, which lets a stored cursor keep returning newly arrived events. Supply it to stop the export at a fixed point, for example to re-export a single historical range. Must be after `start`.","examples":["2026-09-01T00:00:00Z"],"uniqueKey":"occurredAt.end","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"occurredAt","typeLabel":"object"},"cursor":{"type":"string","description":"The opaque pagination cursor returned as `pagination.nextCursor` by a previous call. Omit (or pass an empty string) to fetch the first page. Send it on its own, with no `occurredAt`. An invalid or malformed cursor returns an `invalid_cursor` error.","examples":["eyJ2IjoxLCJjIjoiMjAyNi0wOC0wMVQwMDowMDowMFoifQ=="],"uniqueKey":"cursor","typeLabel":"string"},"limit":{"type":"integer","minimum":1,"maximum":1000,"default":1000,"description":"The maximum number of events to return per page. Defaults to 1000. Values are clamped to the range [1, 1000] rather than rejected; values above 1000 return 1000 results.","uniqueKey":"limit","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"examples":{"first-page":{"title":"first-page","value":{"occurredAt":{"start":"2026-08-01T00:00:00Z"},"limit":1000}},"next-page":{"title":"next-page","value":{"cursor":"eyJ2IjoxLCJjIjoiMjAyNi0wOC0wMVQwMDowMDowMFoifQ==","limit":1000}},"fixed-range":{"title":"fixed-range","value":{"occurredAt":{"start":"2026-08-01T00:00:00Z","end":"2026-09-01T00:00:00Z"},"limit":1000}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"0be0cc42-2318-4d01-9d9f-d78b10191258":{"description":"A page of custom events retrieved successfully.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","required":["events"],"properties":{"events":{"type":"array","description":"The current page of exported custom events.","items":{"type":"object","required":["eventId","contactId","occurredAt","createdAt","eventName","source"],"properties":{"eventId":{"type":"string","format":"uuid","description":"The Conversion ID for this event. Stable primary key for warehouse upserts.","isRequired":true,"uniqueKey":"data.events.items.[INDEX].eventId","typeLabel":"string\u003cuuid>"},"contactId":{"type":"string","format":"uuid","description":"The Conversion contact ID the event belongs to (joins `contacts.id`).","isRequired":true,"uniqueKey":"data.events.items.[INDEX].contactId","typeLabel":"string\u003cuuid>"},"occurredAt":{"type":"string","format":"date-time","description":"When the event occurred. This is the value supplied when the event was tracked, and it is the only timestamp this endpoint filters on.","isRequired":true,"uniqueKey":"data.events.items.[INDEX].occurredAt","typeLabel":"string\u003cdate-time>"},"createdAt":{"type":"string","format":"date-time","description":"When Conversion ingested the event. Compare it with `occurredAt` to identify events that were backdated, for example by a warehouse sync or a CSV import.","isRequired":true,"uniqueKey":"data.events.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"eventName":{"type":"string","description":"The name the event was tracked under.","examples":["order_completed"],"isRequired":true,"uniqueKey":"data.events.items.[INDEX].eventName","typeLabel":"string"},"source":{"type":"string","enum":["CONVERSION","PUBLIC_API","CONVERSION_FORM","CSV_UPLOAD","SALESFORCE","SNOWFLAKE","BIGQUERY","META","LINKEDIN","ZOOM","ZOOM_EVENTS","SEQUEL","GOLDCAST","ATTENTIVE"],"description":"The channel the event was ingested through.","examples":["PUBLIC_API"],"isRequired":true,"uniqueKey":"data.events.items.[INDEX].source","typeLabel":"enum\u003cstring>"},"contactEmail":{"oneOf":[{"type":"string","description":"The contact's current email address. Best-effort: `null` if the contact no longer exists. This is the value at export time, not the value when the event occurred.","uniqueKey":"data.events.items.[INDEX].contactEmail.oneOf.0","typeLabel":"string"},{"type":"null","description":"The contact's current email address. Best-effort: `null` if the contact no longer exists. This is the value at export time, not the value when the event occurred.","uniqueKey":"data.events.items.[INDEX].contactEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.events.items.[INDEX].contactEmail","typeLabel":"string | null"},"userId":{"oneOf":[{"type":"string","description":"The `userId` the contact is identified by in your own system. Best-effort: `null` if the contact no longer exists or has no `userId`.","uniqueKey":"data.events.items.[INDEX].userId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The `userId` the contact is identified by in your own system. Best-effort: `null` if the contact no longer exists or has no `userId`.","uniqueKey":"data.events.items.[INDEX].userId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.events.items.[INDEX].userId","typeLabel":"string | null"},"clientEventId":{"oneOf":[{"type":"string","description":"The `eventId` supplied when the event was tracked, or `null` if none was sent. Use it to join back to the event in your own system.","uniqueKey":"data.events.items.[INDEX].clientEventId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The `eventId` supplied when the event was tracked, or `null` if none was sent. Use it to join back to the event in your own system.","uniqueKey":"data.events.items.[INDEX].clientEventId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.events.items.[INDEX].clientEventId","typeLabel":"string | null"},"data":{"oneOf":[{"type":"object","description":"The event's own payload, exactly as it was tracked, or `null` if none was sent. Keys are lowercased on ingest. Because the keys differ per event name, this is returned as a single JSON object rather than flattened into columns.","uniqueKey":"data.events.items.[INDEX].data.oneOf.0","typeLabel":"object"},{"type":"null","description":"The event's own payload, exactly as it was tracked, or `null` if none was sent. Keys are lowercased on ingest. Because the keys differ per event name, this is returned as a single JSON object rather than flattened into columns.","uniqueKey":"data.events.items.[INDEX].data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.events.items.[INDEX].data","typeLabel":"object | null"}},"uniqueKey":"data.events.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.events","typeLabel":"object[]"}},"uniqueKey":"data","typeLabel":"object"},"pagination":{"type":"object","required":["nextCursor"],"properties":{"nextCursor":{"oneOf":[{"type":"string","description":"Opaque cursor for the next page, or `null` when there are no more results. This is the single source of truth for whether more results exist; an empty page can still carry a cursor.","isRequired":true,"uniqueKey":"pagination.nextCursor.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opaque cursor for the next page, or `null` when there are no more results. This is the single source of truth for whether more results exist; an empty page can still carry a cursor.","isRequired":true,"uniqueKey":"pagination.nextCursor.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"pagination.nextCursor","typeLabel":"string | null"}},"uniqueKey":"pagination","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"with-more-pages":{"title":"with-more-pages","value":{"data":{"events":[{"eventId":"f1e2d3c4-b5a6-7890-fedc-ba0987654321","contactId":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","occurredAt":"2026-08-19T17:01:37Z","createdAt":"2026-08-19T18:55:05.903Z","eventName":"order_completed","source":"PUBLIC_API","contactEmail":"jane@example.com","userId":"user_8813","clientEventId":"order_12345","data":{"currency":"usd","items":3,"order_total":149.99}}]},"pagination":{"nextCursor":"eyJ2IjoxLCJjIjoiMjAyNi0wOC0wMVQwMDowMDowMFoifQ=="}}},"last-page":{"title":"last-page","value":{"data":{"events":[]},"pagination":{"nextCursor":null}}}},"exampleType":"examples"}},"exampleType":"examples"},"ee83e5c6-6572-4746-ba04-8a4eee73c3c9":{"description":"The request was malformed or contained invalid data.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"A machine-readable error code.","examples":["invalid_email"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"A human-readable error description.","examples":["invalid email format: not-an-email"],"isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"missing-range":{"title":"missing-range","value":{"error":{"code":"invalid_window","message":"occurredAt.start is required when no cursor is supplied"}}},"conflicting-range":{"title":"conflicting-range","value":{"error":{"code":"invalid_window","message":"cursor and occurredAt are mutually exclusive; the cursor carries the range"}}},"inverted-range":{"title":"inverted-range","value":{"error":{"code":"invalid_window","message":"occurredAt.end must be after occurredAt.start"}}},"invalid-cursor":{"title":"invalid-cursor","value":{"error":{"code":"invalid_cursor","message":"invalid pagination cursor"}}}},"exampleType":"examples"}},"exampleType":"examples"},"8d2a34ae-3c7f-45a8-948d-c9d35b17aa6b":{"description":"Authentication failed.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"A machine-readable error code.","examples":["invalid_email"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"A human-readable error description.","examples":["invalid email format: not-an-email"],"isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"unauthorized":{"title":"unauthorized","value":{"error":{"code":"unauthorized","message":"API key is required"}}}},"exampleType":"examples"}},"exampleType":"examples"},"846fd4e1-6cb6-464e-83f7-38a504c14b3d":{"description":"The export API is not enabled for this account.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"A machine-readable error code.","examples":["invalid_email"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"A human-readable error description.","examples":["invalid email format: not-an-email"],"isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"export-not-enabled":{"title":"export-not-enabled","value":{"error":{"code":"export_not_enabled","message":"business is not authorized to use the export API"}}}},"exampleType":"examples"}},"exampleType":"examples"},"936f0bbe-95c5-4292-acdd-d09d8dac82dc":{"description":"An unexpected server error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"A machine-readable error code.","examples":["invalid_email"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"A human-readable error description.","examples":["invalid email format: not-an-email"],"isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"internal":{"title":"internal","value":{"error":{"code":"internal_error","message":"failed to list custom events"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"2a3d928d-44fb-4185-a55c-18ac68131732":{"apiKey":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Your Conversion API key. Found in **Settings > Integrations** in the dashboard. Format: `sk_live_\u003ckey_id>_\u003csecret>`.","scopes":[],"schemeName":"apiKey"}},"7b695cb3-04d3-40ee-9fe0-469752c5abf3":{"apiKeyQuery":{"type":"apiKey","in":"query","name":"api_key","description":"Your Conversion API key, sent as a query parameter instead of the `X-API-Key` header. Prefer the header: URLs can end up in logs and browser history.","scopes":[],"schemeName":"apiKeyQuery"}}},"servers":{"e3ed283f-d0eb-4402-99e1-063950ef0c3a":{"url":"https://pub-api.conversion.ai/api"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Your Conversion API key. Found in **Settings > Integrations** in the dashboard. Format: `sk_live_\u003ckey_id>_\u003csecret>`.","scopes":[],"schemeName":"apiKey"},"schema":{"title":"X-API-Key","type":"string","description":"Your Conversion API key. Found in **Settings > Integrations** in the dashboard. Format: `sk_live_\u003ckey_id>_\u003csecret>`.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKey","name":"X-API-Key"}],"title":"apiKey"},{"schemes":[{"scheme":{"type":"apiKey","in":"query","name":"api_key","description":"Your Conversion API key, sent as a query parameter instead of the `X-API-Key` header. Prefer the header: URLs can end up in logs and browser history.","scopes":[],"schemeName":"apiKeyQuery"},"schema":{"title":"api_key","type":"string","description":"Your Conversion API key, sent as a query parameter instead of the `X-API-Key` header. Prefer the header: URLs can end up in logs and browser history.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyQuery","name":"api_key"}],"title":"apiKeyQuery"}]},"originalFileLocation":"openapi.json"},"subdomain":"conversion","siteName":"Conversion Docs","title":"Export Custom Events - Conversion Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-06T00:57:19.939Z","originalFileLocation":"api-reference/export-custom-events.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Bulk export of custom events from a half-open occurredAt range, ordered by occurredAt ascending. Each event\u0026#x27;s own payload is returned as a JSON object under data. The contact\u0026#x27;s current email and user ID are resolved per row on a best-effort basis (contactEmail and userId may be null if the contact no longer exists). Send occurredAt on the first call, then pass the opaque cursor returned as pagination.nextCursor back as cursor on every later call. A null cursor means there are no more results. Persist the last non-null cursor between syncs to resume. The range may be arbitrarily long and is walked in bounded segments internally, so an empty page with a non-null cursor means there are more results to come rather than the end of the export. \u0026gt; Request access. This endpoint is not enabled by default, contact the Conversion team to request access. Calls from accounts without it return 403 export_not_enabled.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Conversion Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/conversion/sLGaUqkRMoGSOJ-R/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/conversion/sLGaUqkRMoGSOJ-R/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/conversion/sLGaUqkRMoGSOJ-R/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/conversion/sLGaUqkRMoGSOJ-R/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/conversion/sLGaUqkRMoGSOJ-R/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/conversion/sLGaUqkRMoGSOJ-R/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/conversion/sLGaUqkRMoGSOJ-R/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/conversion/sLGaUqkRMoGSOJ-R/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/conversion/sLGaUqkRMoGSOJ-R/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Export Custom Events - Conversion Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Bulk export of custom events from a half-open occurredAt range, ordered by occurredAt ascending. Each event\u0026#x27;s own payload is returned as a JSON object under data. The contact\u0026#x27;s current email and user ID are resolved per row on a best-effort basis (contactEmail and userId may be null if the contact no longer exists). Send occurredAt on the first call, then pass the opaque cursor returned as pagination.nextCursor back as cursor on every later call. A null cursor means there are no more results. Persist the last non-null cursor between syncs to resume. The range may be arbitrarily long and is walked in bounded segments internally, so an empty page with a non-null cursor means there are more results to come rather than the end of the export. \u0026gt; Request access. This endpoint is not enabled by default, contact the Conversion team to request access. Calls from accounts without it return 403 export_not_enabled.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Conversion Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.conversion.ai/api-reference/export-custom-events\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://conversion.mintlify.site/_mintlify/api/og/v2?division=Exports\u0026amp;title=Export+Custom+Events\u0026amp;description=Bulk+export+of+custom+events+from+a+half-open+%60occurredAt%60+range%2C+ordered+by+%60occurredAt%60+ascending.+Each+event%27s+own+payload+is+returned+as+a+JSON+object+under\u0026amp;theme=d8788a8349fc61d29bb2579b\u0026amp;signature=8c89bc0bb59a2ab56fcfb809e88fbf9f84fc5cf0f9cc72ef06e362466678a3c4\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Export Custom Events - Conversion Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Bulk export of custom events from a half-open occurredAt range, ordered by occurredAt ascending. Each event\u0026#x27;s own payload is returned as a JSON object under data. The contact\u0026#x27;s current email and user ID are resolved per row on a best-effort basis (contactEmail and userId may be null if the contact no longer exists). Send occurredAt on the first call, then pass the opaque cursor returned as pagination.nextCursor back as cursor on every later call. A null cursor means there are no more results. Persist the last non-null cursor between syncs to resume. The range may be arbitrarily long and is walked in bounded segments internally, so an empty page with a non-null cursor means there are more results to come rather than the end of the export. \u0026gt; Request access. This endpoint is not enabled by default, contact the Conversion team to request access. Calls from accounts without it return 403 export_not_enabled.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://conversion.mintlify.site/_mintlify/api/og/v2?division=Exports\u0026amp;title=Export+Custom+Events\u0026amp;description=Bulk+export+of+custom+events+from+a+half-open+%60occurredAt%60+range%2C+ordered+by+%60occurredAt%60+ascending.+Each+event%27s+own+payload+is+returned+as+a+JSON+object+under\u0026amp;theme=d8788a8349fc61d29bb2579b\u0026amp;signature=8c89bc0bb59a2ab56fcfb809e88fbf9f84fc5cf0f9cc72ef06e362466678a3c4\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/conversion/sLGaUqkRMoGSOJ-R/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Conversion Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2C789F\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.conversion.ai/api-reference/export-custom-events\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/export-custom-events.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.conversion.ai/#organization\",\"name\":\"Conversion Docs\",\"url\":\"https://docs.conversion.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/conversion/M0RNTMA370yH2H5Y/logo/light.svg?fit=max\u0026auto=format\u0026n=M0RNTMA370yH2H5Y\u0026q=85\u0026s=dd94915bb123e2ceb1ca67d31e896f3a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.conversion.ai#website\",\"name\":\"Conversion Docs\",\"url\":\"https://docs.conversion.ai\",\"publisher\":{\"@id\":\"https://docs.conversion.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.conversion.ai/api-reference/export-custom-events#webpage\",\"url\":\"https://docs.conversion.ai/api-reference/export-custom-events\",\"name\":\"Export Custom Events\",\"description\":\"Bulk export of custom events from a half-open occurredAt range, ordered by occurredAt ascending. Each event's own payload is returned as a JSON object under data. The contact's current email and user ID are resolved per row on a best-effort basis (contactEmail and userId may be null if the contact no longer exists). Send occurredAt on the first call, then pass the opaque cursor returned as pagination.nextCursor back as cursor on every later call. A null cursor means there are no more results. Persist the last non-null cursor between syncs to resume. The range may be arbitrarily long and is walked in bounded segments internally, so an empty page with a non-null cursor means there are more results to come rather than the end of the export. > Request access. This endpoint is not enabled by default, contact the Conversion team to request access. Calls from accounts without it return 403 export_not_enabled.\",\"dateModified\":\"2026-11-06T00:57:19.939Z\",\"isPartOf\":{\"@id\":\"https://docs.conversion.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.conversion.ai/api-reference/export-custom-events#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.conversion.ai/api-reference/export-custom-events#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Exports\",\"item\":\"https://docs.conversion.ai/api-reference/export-contacts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Export Custom Events\",\"item\":\"https://docs.conversion.ai/api-reference/export-custom-events\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.conversion.ai/api-reference/export-custom-events#apireference\",\"headline\":\"Export Custom Events\",\"name\":\"Export Custom Events\",\"description\":\"Bulk export of custom events from a half-open occurredAt range, ordered by occurredAt ascending. Each event's own payload is returned as a JSON object under data. The contact's current email and user ID are resolved per row on a best-effort basis (contactEmail and userId may be null if the contact no longer exists). Send occurredAt on the first call, then pass the opaque cursor returned as pagination.nextCursor back as cursor on every later call. A null cursor means there are no more results. Persist the last non-null cursor between syncs to resume. The range may be arbitrarily long and is walked in bounded segments internally, so an empty page with a non-null cursor means there are more results to come rather than the end of the export. > Request access. This endpoint is not enabled by default, contact the Conversion team to request access. Calls from accounts without it return 403 export_not_enabled.\",\"url\":\"https://docs.conversion.ai/api-reference/export-custom-events\",\"mainEntityOfPage\":{\"@id\":\"https://docs.conversion.ai/api-reference/export-custom-events#webpage\"},\"dateModified\":\"2026-11-06T00:57:19.939Z\",\"publisher\":{\"@id\":\"https://docs.conversion.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.conversion.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Conversion Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Conversion Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/export-custom-events.md","siteName":"Conversion Docs","nav":{"global":null,"tabs":[{"tab":"Product Docs","pages":[{"title":"Product Docs","href":"/product-docs/introduction"}]},{"tab":"Conversion AI","pages":[{"title":"Conversion AI","href":"/product-docs/conversion-ai/introduction"}]},{"tab":"API Reference","groups":[{"group":"Getting Started","pages":[{"title":"API Overview","href":"/api-reference/overview"},{"title":"Authentication","href":"/api-reference/authentication"}]},{"group":"Contacts","pages":[{"title":"Upsert Contact","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/contacts","href":"/api-reference/upsert-contact"},{"title":"Batch Upsert Contacts","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/contacts/batch","href":"/api-reference/batch-upsert-contacts"},{"title":"Get Contact","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/contacts","href":"/api-reference/get-contact"}]},{"group":"Events","pages":[{"title":"Track Event","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/events","href":"/api-reference/track-event"},{"title":"Batch Track Events","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/events/batch","href":"/api-reference/batch-track-events"}]},{"group":"Workflows","pages":[{"title":"Trigger Workflow","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/workflows/{workflowId}/trigger","href":"/api-reference/trigger-workflow"}]},{"group":"Fields","pages":[{"title":"List Fields","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/fields","href":"/api-reference/list-fields"},{"title":"Create Field","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/fields","href":"/api-reference/create-field"},{"title":"Create Relationship Fields","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/fields/relationships","href":"/api-reference/create-relationship-fields"}]},{"group":"Custom Objects","pages":[{"title":"Batch Upsert Custom Object Records","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/custom-objects/{customObjectId}/records/batch","href":"/api-reference/batch-upsert-custom-object-records"}]},{"group":"Forms","pages":[{"title":"List Forms","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/forms","href":"/api-reference/list-forms"},{"title":"Get Form","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/forms/{formId}","href":"/api-reference/get-form"}]},{"group":"Audiences","pages":[{"title":"Add Contact to Audience","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/audiences/{audienceId}/contacts","href":"/api-reference/add-contact-to-audience"},{"title":"Remove Contact from Audience","deprecated":null,"version":null,"openapi":"/openapi.json delete /v2/audiences/{audienceId}/contacts","href":"/api-reference/remove-contact-from-audience"}]},{"group":"Campaigns","pages":[{"title":"List Campaigns","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/campaigns","href":"/api-reference/list-campaigns"},{"title":"Get Campaign","deprecated":null,"version":null,"openapi":"/openapi.json get /v2/campaigns/{campaignId}","href":"/api-reference/get-campaign"},{"title":"Add Campaign Member","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/campaigns/{campaignId}/members","href":"/api-reference/add-campaign-member"},{"title":"Batch Add Campaign Members","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/campaigns/{campaignId}/members/batch","href":"/api-reference/batch-add-campaign-members"}]},{"group":"Exports","pages":[{"title":"Export Contacts","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/exports/contacts","href":"/api-reference/export-contacts"},{"title":"Export Email Events","description":"**Deprecated.** Use [Export Contact Events](/api-reference/export-contact-events) with `types` set to the `EMAIL_*` types you need. It returns the same events, with the email detail and `emailName` in each event's `email` object. To move an existing walk over without re-reading it, send its last cursor as `emailEventsCursor`. This endpoint is still served.\n\nBulk, incremental export of raw email engagement events of a single type, keyed by `occurredAt`. The email asset name is resolved per row on a best-effort basis (`emailName` may be `null` if it cannot be resolved). Opens and clicks from untracked sends are omitted. Send events include `tracked`; older sends without a recorded flag count as tracked.\n\nResults are paginated with an opaque cursor returned as `pagination.nextCursor`. Pass it back as `cursor` to fetch the next page; a `null` cursor means there are no more results. Persist the last non-null cursor between syncs to resume.\n\n> **Request Access.** This endpoint is not enabled by default, contact the Conversion team to request access. Calls from accounts without it return `403 export_not_enabled`.","deprecated":true,"version":null,"openapi":"/openapi.json post /v2/exports/email-events","href":"/api-reference/export-email-events"},{"title":"Export Custom Events","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/exports/custom-events","href":"/api-reference/export-custom-events"},{"title":"Export Contact Events","description":"Bulk, incremental export of contact events: email, page visit, form submission, campaign member, workflow, audience, field change, and Salesforce lead conversion events. Custom events export from `POST /v2/exports/custom-events`.\n\nSend filters on the first call, then pass `pagination.nextCursor` back as `cursor` until it is `null`. Persist the last non-null cursor between syncs to resume.\n\n> **Request access.** This endpoint is not enabled by default, contact the Conversion team to request access. Calls from accounts without it return `403 export_not_enabled`.","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/exports/contact-events","href":"/api-reference/export-contact-events"},{"title":"Export Campaigns","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/exports/campaigns","href":"/api-reference/export-campaigns"},{"title":"Export Campaign Types","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/exports/campaign-types","href":"/api-reference/export-campaign-types"},{"title":"Export Workflows","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/exports/workflows","href":"/api-reference/export-workflows"},{"title":"Export Audiences","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/exports/audiences","href":"/api-reference/export-audiences"},{"title":"Export Audience Members","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/exports/audience-members","href":"/api-reference/export-audience-members"},{"title":"Export Touchpoints","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/exports/touchpoints","href":"/api-reference/export-touchpoints"}]},{"group":"Privacy","pages":[{"title":"Full Delete Contact","deprecated":null,"version":null,"openapi":"/openapi.json post /v2/full-delete","href":"/api-reference/full-delete-contact"}]},{"group":"Zapier","pages":[{"title":"Zapier Overview","sidebarTitle":"Overview","href":"/api-reference/zapier/overview"}]}]}]},"basePath":"","title":"Export Custom Events - Conversion Docs","buildId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","deploymentId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DDP9JXtj.js","utils-8yQyvEtx.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CBCFR8Sn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-rQaXkUHa.js","snippetPresets-J5KpBTgV.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BVxVH4Cj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BxdQ2vIi.js","shallow-BjV2tFiD.js","getApiPlaygroundDisplay-C_55tL4O.js","CodeSnippet-C0JpiCOC.js","CodeSnippets-w9Ps7djG.js","Page-DTNSD-0M.js","getPastedJson-BDfB-H8d.js","icon-g-kUkkO9.js","MethodPill-v4l6fq0h.js","DuplicateIcon-CvLo-CfU.js","createIcon-165clrrV.js","DynamicMarkdown-D3RQ-fEj.js","SectionHeading-vvo-3yLf.js","axios-vUo_bRtp.js","Markdown-CMT1uFWQ.js","clsx-C8f2yC9R.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CI2D8R2Y.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-k78Wrw_e.js"]}