> ## Documentation Index
> Fetch the complete documentation index at: https://doc.eazemyapi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Api url structure

# EazeMyAPI URL Structure

All EazeMyAPI endpoints follow a consistent URL structure.

```
https://api.eazemyapi.com/{project}/{table}/{version}/{action}
```

Each part of the URL defines how the API request is routed.

***

## URL Components

| Component | Description |
| - | - |
| `api.eazemyapi.com` | Base API server |
| `{project}` | Your project identifier |
| `{table}` | Database table name |
| `{version}` | API version (v1, v2, etc.) |
| `{action}` | CRUD operation (list, create, update, delete) |

***

## Example API URL

```
https://api.eazemyapi.com/demo-project/users/v1/list
```

In this example:

| Part | Value |
| - | - |
| project | demo-project |
| table | users |
| version | v1 |
| action | list |

***

## CRUD API Structure

EazeMyAPI automatically generates standard CRUD APIs for every table.

| Operation | Method | Endpoint |
| - | - | - |
| List Records | GET | `/{project}/{table}/{version}/list` |
| Create Record | POST | `/{project}/{table}/{version}/create` |
| Update Record | POST | `/{project}/{table}/{version}/update/{id}` |
| Delete Record | DELETE | `/{project}/{table}/{version}/delete/{id}` |

***

## API Request Example

### cURL Example

```bash theme={null}
curl "https://api.eazemyapi.com/demo-project/users/v1/list" \
  -H "X-API-SIGNATURE: your-secret-key"
```

***

## Example Response

```json theme={null}
{
  "success": true,
  "message": "Data found.",
  "data": [
    {
      "id": 1,
      "name": "Dara Singh",
      "email": "dara@eazemyapi.com"
    }
  ]
}
```

***

## API Versioning

EazeMyAPI uses **versioned APIs** to ensure backward compatibility.

### Example Versions

```
v1
v2
v3
```

### Example

```
https://api.eazemyapi.com/demo-project/users/v2/list
```

Versioning allows your application to continue working even when new features are added.

***

## Endpoint Naming Convention

Endpoints in EazeMyAPI follow a simple and predictable CRUD-based structure.

| Action | Description |
| - | - |
| `list` | Fetch all records |
| `create` | Create new record |
| `update/{id}` | Update existing record |
| `delete/{id}` | Delete record by ID |

These APIs are automatically generated based on your database tables.

***

## Authentication Header

Every request must include the API signature header.

```
X-API-SIGNATURE: your-secret-key
```

Learn more about authentication:

[Authentication](https://doc.eazemyapi.com/docs/authentication.md)

***

## Best Practices

When building API requests:

* Always include the **API signature header**

* Use the correct **table name in URL**

* Validate request parameters

* Use HTTPS for secure communication

***

## Related Documentation

Learn how APIs are generated automatically:

[Generate API](https://doc.eazemyapi.com/docs/generate-api.md)

Explore available endpoints:

[API Endpoints](https://doc.eazemyapi.com/docs/api-endpoints.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.