https://demo.notifuse.com/api/customEvents.import Imports multiple custom events in a single batch operation. Maximum 50 events per request. Auto-creates contacts if they don't exist.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your API key.
Body application/json
The ID of the workspace
Array of custom events to import (1-50 events)
Show 11 child attributes Hide 11 child attributes
Event type name
External system identifier
Contact email address
The complete state of the resource. Omit the field to leave the stored properties untouched; send an empty object to clear them all. Including it replaces the stored set rather than merging into it, so restate every property you want kept.
When this version of the resource was produced. On an entry naming an existing resource it is also the ordering guard: unless deleted_at also changes, an entry whose occurred_at is not strictly newer than the stored one is discarded in full and still counted as imported. Defaults to the time of the request.
Origin to record, defaulting to 'api' when the entry omits it. It applies only where the entry creates the resource: an entry naming one that already exists leaves the stored origin alone, so re-importing cannot relabel a resource an integration created.
Integration reference. Preserved when the entry omits it, so re-importing does not unlink a resource from the integration that owns it.
Type of goal for conversion tracking. Kept when the entry omits it; once set it can be changed but not cleared.
Optional goal name for categorization. Kept when the entry omits it; once set it can be changed but not cleared.
Monetary value (required for purchase/subscription, can be negative for refunds). Kept when the entry omits it; once set it can be changed but not cleared.
Soft delete timestamp
Response
201 Custom events imported successfully object
External IDs of successfully imported events
Number of events created
400 Bad request - validation failed object
Error message
401 Unauthorized - invalid or missing authentication token object
Error message
403 Forbidden - missing required permission object
Error message
500 Internal server error object
Error message