---
id: api
title: API & Intégration
sidebar_position: 2
---

# API & Intégration

## Endpoints disponibles

### GET /api/module/status

Retourne l'état du module.

```json
{
  "status": "active",
  "version": "1.0.0",
  "connected": true
}
```

### POST /api/module/sync

Lance une synchronisation manuelle.

## Exemple PHP

```php
$client = new ModuleClient([
    'api_key' => 'votre-cle-api',
    'shop_url' => 'https://votre-boutique.com',
]);
$result = $client->sync();
```
