Skip to main content
POST
Import custom events

Authorizations

Authorization
string
header
required

API token for authentication

Body

application/json
workspace_id
string
required

The ID of the workspace

Example:

"ws_1234567890"

events
object[]
required

Array of custom events to import (1-50 events)

Required array length: 1 - 50 elements
Example:

Response

Custom events imported successfully

event_ids
string[]

External IDs of successfully imported events

Example:
count
integer

Number of events created

Example:

2