OpenAPI
The Lansenger Open Platform provides server-side Open-APIs with end-to-end interfaces for authentication, contacts, messaging, roles and permissions, media assets, organization management, app management, and business callbacks.
Developer Center
Create an App
- Log in to the Lansenger Developer Center
- Create a self-built app or third-party app
- Set app icon, name, and description
- Get the App ID and App Secret
API Permissions
Apps have the following default basic permissions:
- Get basic personnel information
- Send Lansenger messages to specified people/branches
Advanced permissions require manual activation (some advanced permissions are not available for third-party apps):
- Read organizational contacts
- Edit personnel and branch data
- Get sensitive personnel information
Server-Side Capabilities
Authentication
- OAuth2 authentication mechanism
- Apps obtain access_token via AppID and AppSecret
- Call business APIs using access_token
Contact Management
- CRUD for personnel
- CRUD for branches
- Department management
- Batch import/export
Message Notifications
- Send messages to specified people
- Batch send to branch/tag members
- Support text, image, file, card, and other message types
App Management
- Create, edit, delete apps
- Set workplace entries and visibility scope
- Configure callback events
Business Event Callbacks
- Subscribe to organizational business events (personnel changes, message events, etc.)
- Configure callback URLs to receive event notifications
Developer Management
- Administrators can assign developer roles to organizational users
- Developer roles support hierarchical permission management
- Development scope and type must be assigned
- Developers can only build apps for branches within their development scope
- Can be invited by other developers to co-develop organizational apps
Partner Registration
Organizations can apply for third-party partner status to publish third-party apps to the App Market:
- Go to “Partner Registration” in the Developer Center
- Fill in third-party partner certification materials
- Submit the application and wait for review (within 3 business days)
- After approval, publish third-party apps
Only one application is active at a time.

