Skip to content
Documentation

Everything You Need to Get Started

Comprehensive guides, API reference, and SDK documentation to help you integrate ErrorTrack in minutes.

Quick Start

1

Install the SDK

Choose your platform and install the ErrorTrack SDK:

# npm
npm install @errortrack/sdk

# yarn
yarn add @errortrack/sdk

# pnpm
pnpm add @errortrack/sdk
2

Initialize ErrorTrack

Add the initialization code to your app:

import ErrorTrack from '@errortrack/sdk';

ErrorTrack.init({
  apiKey: 'your-api-key',
  environment: 'production',
  release: '1.0.0'
});
3

Test Your Integration

Trigger a test error to verify everything works:

try {
  throw new Error('Test error from ErrorTrack');
} catch (error) {
  ErrorTrack.captureException(error);
}

Platform SDKs

JavaScript

Browser and Node.js support

View Docs

Python

Django, Flask, FastAPI support

View Docs

React

React, Next.js, Remix support

View Docs

Ruby

Rails and Sinatra support

View Docs

PHP

Laravel, Symfony support

View Docs

Go

Gin, Echo, Fiber support

View Docs

API Reference

POST /api/v1/events

Capture Error Event

Submit error events to ErrorTrack for monitoring and analysis.

curl -X POST https://api.errortrack.dev/v1/events \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"message": "Error occurred", "stack": "..."}'
GET /api/v1/projects/:id/issues

List Project Issues

Retrieve all issues for a specific project with pagination support.

curl https://api.errortrack.dev/v1/projects/123/issues \
  -H "Authorization: Bearer YOUR_API_KEY"
PATCH /api/v1/issues/:id

Update Issue Status

Update the status, assignee, or priority of an existing issue.

curl -X PATCH https://api.errortrack.dev/v1/issues/456 \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"status": "resolved"}'

Ready to Get Started?

Start monitoring your application errors in minutes with our easy-to-use SDK.