← All documentation

🔌 API Reference

Overview

Integrate EntrepriseConnect with your existing tools using our REST API. All endpoints use JWT authentication over HTTPS.

Base URL

https://api.ldentreprise.com/api/v1

Authentication

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...

Main Endpoints

MethodEndpointDescription
GET/usersList all users
POST/usersCreate a user
PATCH/users/:idUpdate user
POST/users/importBulk import CSV
GET/network/devicesList devices
POST/network/devicesAdd device
GET/vlansList VLANs
POST/vlansCreate VLAN
GET/aclsList ACLs
POST/aclsCreate ACL
GET/inboxList conversations
POST/inbox/sendSend message
GET/voip/extensionsList SIP extensions
GET/billing/plansList plans
GET/currenciesAll 41 currencies
GET/audit-logsAudit trail

Rate Limits

Error Codes

CodeMeaning
200Success
400Bad request (validation error)
401Not authenticated
403Forbidden (insufficient permissions)
404Not found
409Conflict (e.g., email already exists)
429Rate limit exceeded
500Server error (contact support)

SDKs Coming Soon