Hero background

API Reference

Complete API documentation for integrating AIEE into your applications. RESTful endpoints, authentication, and code examples.

Developer workspace with code on screen

Authentication

All API requests require authentication using an API key. Include your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY
Chip iconEndpoints

Available endpoints

POST
/api/v1/quizzes/generateQuizzes

Generate a new quiz using AI

GET
/api/v1/quizzes/{id}Quizzes

Retrieve a specific quiz by ID

POST
/api/v1/lesson-plans/createLesson Plans

Create a lesson plan

GET
/api/v1/user/creditsAccount

Get current credit balance

POST
/api/v1/exports/{id}Exports

Export content to various formats

Code Example

// Example: Generate a quiz using the API
const response = await fetch('https://api.aienterpriseeducation.com/v1/quizzes/generate', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    topic: 'World War II',
    difficulty: 'medium',
    questionCount: 10,
    questionTypes: ['multiple-choice', 'true-false']
  })
});

const quiz = await response.json();

Ready to integrate?

Get your API key and start building with AIEE today.