Events
Create Event
Creates a new event definition under the project.
POST
Defines a new event for the project. Event names and property names accept ASCII letters, digits, and underscores only, and must be 64 characters or fewer.
Authorizations
Project API key header of the form Bearer
AS_<key>.Body
Unique name of the event within the project. ASCII letters, digits, and underscores only.Maximum length:
64Example: "order_completed"Optional human-readable description.Example:
"Fired when a customer completes a checkout"Schema for the event’s custom properties. Up to 50 properties per event.
Response
Event created successfully (201)Indicates if the request was successfulExample:
trueThe created event definition
Error Responses
Returned when an event with the same
eventName already exists in the project.Returned when the project has 100 active event definitions.