Reporting Errors
To report an error, make an HTTP POST request to the following resource URI:

POST Parameters

Parameter Type Required Description>
message String Yes Text pertaining to the error.
file_name String No Send us the file name of the file reporting the Exception or error. The less data you have to send here, the better.
line_number Integer No The line number of the exception or error that occurred.
error_group String No This is how we will group errors together inside the website. You can manually set these or we will do our best to make the group for you.
tags Array No Tags is an array of strings. An example would be "v1.2" or "production" or "server 36". Tags are great for filtering results by release.
context Array No Context is an array of strings. Context can be used to send over information that is not searchable, but provides you with more details. Things like a user ids, ip addresses, etc.
severity Integer No Allowed severity levels are 1-3. 1: Info 2: Warning 3: Error
stack_trace String No It usually helps to have some more context around the errors that occur. Send us a full stack trace so when you drill down you can recover more details. You can seperate new lines with \n

Your JSON payload Will Look Like

    "error_group": "Credit Card Errors",
    "line_number": 41,
    "file_name": "/Example.php",
    "message": "FATAL ERROR",
    "stack_trace": "...",
    "tags": ["v1.2", "server 36"],
    "context": ["User 123123123", "Query String 123", "last url"],
    "severity": 3

Our Response Will Look Like This

    "id" => 27
    "message" => "FATAL ERROR"
    "file_name" => "/Example.php"
    "line_number" => 44
    "error_group" => "Credit Card Errors"
    "severity" => 3
    "updated_at" => "2016-05-27 08:03:19"
    "created_at" => "2016-05-27 08:03:19"