LogSnag provides a single API endpoint for publishing your events and logs to your account.
Table of contents
The LogSnag API uses API tokens to authenticate requests. You can find, generate or revoke your API tokens from the API page under settings.
Authentication to the API is performed via the Authorization
header. All requests are required to provide a valid API token in the following format:
"Authorization: Bearer f1c4c8f0e3fe4d4afa52f8c075c6e8fd"
Route: https://api.logsnag.com/v1/log
Method: POST
Notes:
^[a**-**z0**-**9]+(?:-[a**-**z0**-**9]+)*$
application/json