Integrate EntrepriseConnect with your existing tools using our REST API. All endpoints use JWT authentication over HTTPS.
https://api.ldentreprise.com/api/v1
Login to get a token:
POST /auth/login
Content-Type: application/json
{
"email": "admin@company.com",
"password": "your-password",
"companyId": "3a2947a1-..."
}
Response:
{
"token": "eyJhbGci...",
"user": { ... },
"company": { ... }
}
Include the token in subsequent requests:
Authorization: Bearer eyJhbGci...
| Method | Endpoint | Description |
|---|---|---|
| GET | /users | List all users |
| POST | /users | Create a user |
| PATCH | /users/:id | Update user |
| POST | /users/import | Bulk import CSV |
| GET | /network/devices | List devices |
| POST | /network/devices | Add device |
| GET | /vlans | List VLANs |
| POST | /vlans | Create VLAN |
| GET | /acls | List ACLs |
| POST | /acls | Create ACL |
| GET | /inbox | List conversations |
| POST | /inbox/send | Send message |
| GET | /voip/extensions | List SIP extensions |
| GET | /billing/plans | List plans |
| GET | /currencies | All 41 currencies |
| GET | /audit-logs | Audit trail |
| Code | Meaning |
|---|---|
| 200 | Success |
| 400 | Bad request (validation error) |
| 401 | Not authenticated |
| 403 | Forbidden (insufficient permissions) |
| 404 | Not found |
| 409 | Conflict (e.g., email already exists) |
| 429 | Rate limit exceeded |
| 500 | Server error (contact support) |