Register an event type
Registers a new external event type that the integration can later fire via triggerEvent. The event declaration defines its name, machine code_name (used in triggerEvent's URL), and a properties schema describing the contact, visitor, custom-data and metadata payloads accepted at trigger time. Distinct from triggerEvent: this endpoint defines the event type; triggerEvent fires an instance.
Parameters
Header Parameters
[Authentication] Required API key.
"^[a-zA-Z0-9-]{20,64}$"Request Body
Responses
Client error - Invalid request or authentication issues
Register an event type Registers a new external event type that the integration can later fire via triggerEvent. The event declaration defines its name, machine code_name (used in triggerEvent's URL), and a properties schema describing the contact, visitor, custom-data and metadata payloads accepted at trigger time. Distinct from triggerEvent: this endpoint defines the event type; triggerEvent fires an instance. POST /v1/events createEvent Events spm-api-key [Authentication] Required API key. Client error - Invalid request or authentication issues Server error - Internal processing failure