EventResponse

@Serializable
data class EventResponse(val cache: String?, val sessionId: String?, val visitId: String?, val beep: String?)

Represents the response from the Umami API after sending an event.

Constructors

Link copied to clipboard
constructor(cache: String?, sessionId: String?, visitId: String?, beep: String?)

Properties

Link copied to clipboard
@SerialName(value = "beep")
val beep: String?

An optional field that may contain an error message if the server considered the event invalid.

Link copied to clipboard
@SerialName(value = "cache")
val cache: String?

A cache token that can be used to speed up subsequent requests.

Link copied to clipboard
@SerialName(value = "sessionId")
val sessionId: String?

The ID of the session.

Link copied to clipboard
@SerialName(value = "visitId")
val visitId: String?

The ID of the visit.