Create Log

POST /api/v1/log/create

The most important endpoint is the create log.

Headers

NameValue

Content-Type

application/json

Authorization

Bearer <token>

Body

NameTypeDescription

channel_id

string

The ID of the channel you'll like a log assigned to. This can be found in the URL of the channel.

reference

string

Log reference e.g. your users ID or session ID.

label

string

Label text.

body

string

Body text.

type

string

page_view, action, success, error, information

alert

bool

Send alert?

tags

string

Comma delimited list of tags.

custom_references

array

A key => value array of customer references for this log. Key is the name and value is the value of that custom reference.

Response

We'll return a HTTP 202 response.

{}

Last updated