Back
Smart ATS Hiring Suite ยท API v1

API Reference

Complete REST API for TalentFlow AI. Protected routes require aBearertoken from the auth endpoints.

Base URL

https://smart-ats-production.up.railway.app/api

Auth

JWT Bearer ยท 7d expiry

Rate Limit

200 req / 15 min

Format

JSON ยท HTTPS

Authentication: Include the token in every protected request:
Authorization: Bearer <your_jwt_token>

Roles: admin ยท recruiter ยท hiring_manager. First registered user becomes admin automatically.

๐Ÿ”

Auth

/api/auth

User registration, login, Google OAuth, profile management, and admin user controls.

๐Ÿ’ผ

Jobs

/api/jobs

Create, search, and manage job postings. Full-text search via MongoDB text index on title, description, and skills.

๐Ÿง‘โ€๐Ÿ’ผ

Candidates

/api/candidates

Manage candidate profiles. Resume uploads trigger AI parsing. Duplicate detection uses MD5 fingerprint of name + email.

๐Ÿ“‹

Applications

/api/applications

Track candidates through the hiring pipeline. Each application has a stage, full history, and optional AI fit score (0โ€“100).

๐Ÿ“…

Interviews

/api/interviews

Schedule, manage, and collect feedback. Scheduling auto-advances the application stage and emails the candidate.

๐Ÿ“Š

Analytics

/api/analytics

Pre-aggregated recruitment metrics for the dashboard. All read-only, all require authentication.

๐Ÿ””

Notifications

/api/notifications

In-app notification feed scoped to the authenticated user. Frontend polls every 30 seconds for the unread badge count.

๐Ÿ’ณ

Payments

/api/payments

Cashfree Payments integration for the โ‚น999/month Premium subscription. Implements order creation, client-side verification, and signed webhook.