Skip to content

Coordinator Backend

The Coordinator Backend is a Go-based REST API service that powers the Coordinator platform.

Overview

This service provides:

  • Authentication - JWT-based auth with OAuth support
  • User Management - User profiles and settings
  • Organization Management - Multi-tenant organization support
  • Chat/Actions - AI-powered chat and action endpoints
  • Sessions - Logging session management
  • Stripe Integration - Payment processing

Base URL

Environment URL
Development http://localhost:8080/api/v1
Production https://api.coordinator.com/api/v1

Authentication

Most endpoints require Bearer token authentication:

curl -H "Authorization: Bearer <your-jwt-token>" \
  https://api.coordinator.com/api/v1/users/me

Local Development

When running locally, view the interactive Swagger UI at:

http://localhost:8080/swagger/index.html

Regenerating API Docs

After modifying API handlers with swag annotations:

swag init -o internal/docs --outputTypes go && swag init -o docs --outputTypes json,yaml