The Log Event route is the API endpoint for pushing your events to SaasHound. You can use it to log any event in your app, service, or system. Your events will be stored by your project and your specified channels.
Endpoint Url
POST
This endpoint allows you to send log events to SaasHound.
Request Headers
ParameterTypeDescriptionRequired
Content-Type *string application/json Required
Authorization *string Bearer <TOKEN> Required
Request Params
ParameterTypeDescriptionRequired
project *string Project name. Required
channel *string Channel name. Required
title *string Event name. Required
description string Event description or long description. Optional
icon string Event icon (emoji). It has to be a single emoji. Optional
color string Icon background color. Optional
userId string The unique identifier of the user. This is the same one used to identify the user. Optional
tags Tags Event tags. A record of key-value pairs where the key is a string and the value can be a string, number or boolean. Optional
milestone boolean Event is a milestone event. Optional
Response
Example Code
Historical Data
You may add historical logs to SaasHound by adding a timestamp parameter to your logs. The timestamp parameter should be a unix timestamp in seconds. Remember that you will not receive a push notification for historical logs.