EduCare
Getting Started

Quick Start

Get started with the EduCare API in under 5 minutes

Quick Start

Get started with the EduCare API in under 5 minutes. This guide walks you through making your first API request.

Prerequisites

  • An EduCare developer account (Sign up)
  • An API key from your dashboard
  • A tool to make HTTP requests (cURL, Postman, or your code)

Step 1: Verify API Access

First, test that you can reach the API using the health check endpoint (no authentication required):

curl https://api.educare.com/v1/health

JavaScript:

const response = await fetch('https://api.educare.com/v1/health');
const data = await response.json();
console.log(data);
// { "status": "healthy", "version": "1.0.0", ... }

Python:

import requests

response = requests.get('https://api.educare.com/v1/health')
print(response.json())
# {'status': 'healthy', 'version': '1.0.0', ...}

Step 2: Authenticate Your Request

Now make an authenticated request to list students:

curl -H "Authorization: Bearer YOUR_API_KEY" \
  https://api.educare.com/v1/students

You should see a response like:

{
  "data": [
    {
      "id": 1234,
      "name": "Emma Wilson",
      "email": "emma.wilson@student.educare.com",
      "grade_level": "11"
    }
  ],
  "pagination": {
    "page": 1,
    "per_page": 20,
    "total": 150,
    "total_pages": 8
  }
}

Step 3: Create a Resource

Create a new student record:

curl -X POST https://api.educare.com/v1/students \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "John Smith",
    "email": "john.smith@student.educare.com",
    "grade_level": "10"
  }'

Success! You've made your first API requests to EduCare.

Next Steps

On this page