← Tools Reference

LogSnag

LogSnag integration (Developer Tools, Data). Imported from open-connector.

API key4 toolshttps://api.logsnag.com/v1
POST
logsnag_publish_event
Publish an event to a LogSnag project channel.

/log

10 parameters
ParamTypeRequiredDescription
projectstringrequiredThe LogSnag project name.
channelstringrequiredThe LogSnag channel name.
eventstringrequiredThe event name.
descriptionstringoptionalThe optional event description.
iconstringoptionalThe optional emoji or emoji shortcode shown with the event.
notifybooleanoptionalWhether LogSnag should send a push notification.
tagsobjectoptionalA LogSnag key-value object.
parserstringoptionalThe parser LogSnag should apply to the description.
user_idstringoptionalThe optional user identifier associated with the event.
timestampnumberoptionalThe optional Unix timestamp in seconds for historical events.
POST
logsnag_identify_user
Add or update key-value properties on a LogSnag user profile.

/identify

3 parameters
ParamTypeRequiredDescription
projectstringrequiredThe LogSnag project name.
user_idstringrequiredThe user identifier to update.
propertiesobjectrequiredA LogSnag key-value object.
POST
logsnag_publish_insight
Publish the latest value for a LogSnag real-time insight.

/insight

4 parameters
ParamTypeRequiredDescription
projectstringrequiredThe LogSnag project name.
titlestringrequiredThe insight title.
valuestringrequiredThe insight value.
iconstringoptionalThe optional emoji or emoji shortcode shown with the insight.
PATCH
logsnag_mutate_insight
Increment or decrement an existing numeric LogSnag insight.

/insight

4 parameters
ParamTypeRequiredDescription
projectstringrequiredThe LogSnag project name.
titlestringrequiredThe insight title.
valueobjectrequiredThe LogSnag mutation object.
iconstringoptionalThe optional emoji or emoji shortcode shown with the insight.