Skip to main content

API Reference

This document describes how to interact with EazeMyAPI generated APIs. EazeMyAPI automatically generates REST APIs for each database table in your project. Describe your app → AI creates database → APIs ready instantly. Guide: Getting Started

Base API URL

All API requests follow this format:
https://api.eazemyapi.com/{project}/{version}/{table-name}
Example:
https://api.eazemyapi.com/ema/v1/users

Authentication

Every request must include the API signature header.
X-API-SIGNATURE: <your-secret-key>
You can find your key here:
Project → Settings → API Signature Key
Full guide: Authentication

API Endpoints

For each table, EazeMyAPI automatically generates REST endpoints. Example table:
users
Generated endpoints:
MethodEndpointDescription
GET/usersRetrieve all users
GET/users/Retrieve a specific user
POST/usersCreate a new user
PUT/users/Update a user
DELETE/users/Delete a user
Guide: Generating APIs

Example Request

Get Users

fetch("https://api.eazemyapi.com/ema/v1/users", {
  headers: {
    "X-API-SIGNATURE": "your-secret-key"
  }
})

Create Record

fetch("https://api.eazemyapi.com/ema/v1/users", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "X-API-SIGNATURE": "your-secret-key"
  },
  body: JSON.stringify({
    name: "John",
    email: "john@example.com"
  })
})

Update Record

fetch("https://api.eazemyapi.com/ema/v1/users/1", {
  method: "PUT",
  headers: {
    "Content-Type": "application/json",
    "X-API-SIGNATURE": "your-secret-key"
  },
  body: JSON.stringify({
    name: "John Updated"
  })
})

Delete Record

fetch("https://api.eazemyapi.com/ema/v1/users/1", {
  method: "DELETE",
  headers: {
    "X-API-SIGNATURE": "your-secret-key"
  }
})

Response Format

All APIs return JSON responses. Example:
{
  "id": 1,
  "name": "Romit",
  "email": "rm@eazemyapi.com"
}

Next Steps

Learn more about using EazeMyAPI: