Skip to main content

API Documentation

Overview

JobHive provides a comprehensive RESTful API built with Django REST Framework. The API supports all platform features including interview management, AI analysis, user management, and billing operations.

Base Information

API Base URL: https://api.jobhive.com/api/v1/
Authentication: JWT Bearer Token
Content Type: application/json
API Version: v1

Authentication

JWT Token Authentication

All API endpoints require authentication using JWT tokens.

Using Authentication Tokens

Token Refresh

Core API Endpoints

1. User Management

Get Current User Profile

Update User Profile

User Registration

2. Interview Management

Create Interview Session

Get Interview Sessions

Get Interview Details

Update Interview Session

End Interview Session

3. AI Analysis & Scoring

Get Benchmark Comparison

Get Sentiment Analysis

Get Skill Assessments

Get Score Weights

4. Recommendations & Learning

Get Recommendations

Get Learning Paths

5. Job Management

Get Job Listings

Create Job Posting

6. Billing & Subscriptions

Get Subscription Plans

Get User Subscription

Create Subscription

Get Billing Analytics

7. Analytics & Reporting

Get Interview Analytics

Error Handling

Standard Error Response Format

Common HTTP Status Codes

Error Code Reference

Rate Limiting

Rate Limit Headers

Rate Limits by Endpoint Category

Pagination

Standard Pagination Format

Pagination Parameters

  • limit: Number of results per page (default: 20, max: 100)
  • offset: Number of results to skip
  • ordering: Sort field (use - prefix for descending)

WebSocket API

Connection

Message Types

SDK Examples

Python SDK

JavaScript SDK

Testing & Development

Sandbox Environment

Base URL: https://sandbox-api.jobhive.com/api/v1/
Test Cards: Use Stripe test card numbers for billing tests

API Testing Tools

  • Postman Collection: Available for download
  • OpenAPI Specification: Swagger documentation at /api/docs/
  • Interactive Testing: Available at /api/playground/

Webhook Testing