POST
/
event_schema
/
{event_schema_name}
/
activate

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

event_schema_name
string
required
Maximum length: 50

Response

200 - application/json

Structure of an event schema

name
string
required

Name of the event. Must be unique for an organization.

Maximum length: 50
version
integer
required

Version of event schema

Required range: x > 1
attributes
object[]
createdAt
string
description
string

Description of the event

Maximum length: 255
dimensions
object[]
enrichments
object
eventIdTemplate
string

Template used to generate event id based on event payload

eventLevelRevenue
boolean
featureDetails
object

details of feature associated with event schema with attribute name

filterFields
string[]
status
enum<string>

Status of event schema

  • DRAFT - Schema is in draft state
  • ACTIVE - Schema is currently active
  • INACTIVE - Schema is currently inactive
  • ARCHIVED - Older version of event schema
Available options:
DRAFT,
ACTIVE,
INACTIVE,
ARCHIVED
updatedAt
string