Error Reporting

Base Path: /v1/error

Report Error

Method: POST Endpoint: https://api.tokensource.com/v1/error Description: Reports an error to the server for logging.

Request Body:

{
  "message": "Error message",
  "stack": "Error stack trace (optional)",
  "traceId": "unique-trace-id",
  "timestamp": 1677652288000,
  "user": "username (optional)",
  "source": "client",
  "environment": "production"
}

Response (200 OK):

{
  "success": true
}

Last updated