Productivity & Projects

Lark

Enterprise collaboration platform with messaging, video conferencing, calendar, and document management

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Obtain bulk department information

    Required connected-account bundle: work_organization (Work Management & Organization). Select a connection authorized for this bundle. Obtain bulk department information. This API is to obtain the information of bulk departments in Contacts. Provider constraints: Notice:- When using tenant_access_token, the application must obtain the access permission of the contacts of the requested department. To access root department information, the application must have an all-staff contact scope. - When using user_access_token, users must obtain the visibility scope of the requested department. To access root department information, the visibility scope must include all employees. Notice:- When using tenant_access_token, the application must obtain the access permission of the contacts of the requested department. To access root department information, the application must have an all-staff contact scope.

  • Obtain multiple users' information

    Required connected-account bundle: work_organization (Work Management & Organization). Select a connection authorized for this bundle. Obtain multiple users' information. This API is used to obtain the information of bulk users in Contacts.

  • Obtain parent department information

    Required connected-account bundle: work_organization (Work Management & Organization). Select a connection authorized for this bundle. Obtain parent department information. This API is used to recursively obtain the information of parent departments, and return the list of the information of parent departments within the permission scope from child departments to parent departments. Provider constraints: Notice:When tenant_access_token is used, this API only returns the information of parent departments within the visible scope. For example, for Departments A>>B>>C>>D (A has the highest level), if the contact scope is Department B, querying parent departments of department D will return Department B and Department C. When user_access_token is used, this API only returns the information of parent departments visible to the user. For example, for Departments A>>B>>C>>D (A has the highest level), if the contact scope is Department B, querying parent departments of department D will ret...

  • Obtain single department information

    Required connected-account bundle: work_organization (Work Management & Organization). Select a connection authorized for this bundle. Obtain single department information. This API is used to obtain the information of a single department in contacts. Provider constraints: Notice:- When using tenant_access_token, the app must have the contacts scope of the department to be queried. To obtain root department information, the app must have the all-staff contact scope. - When using user_access_token, you must have the visibility of the department to be queried. To obtain root department information, you must have the visibility of all employees. Notice:- When using tenant_access_token, the app must have the contacts scope of the department to be queried. To obtain root department information, the app must have the all-staff contact scope.

  • Obtain single user's information

    Required connected-account bundle: work_organization (Work Management & Organization). Select a connection authorized for this bundle. Obtain single user's information. This API is used to obtain the information of a single user in Contacts.

  • Obtain the list of sub-departments

    Required connected-account bundle: work_organization (Work Management & Organization). Select a connection authorized for this bundle. Obtain the list of sub-departments. This API is used to obtain the list of sub-departments by using the department ID. Provider constraints: Notice:- Department ID is required. The root department ID is 0. - When user_access_token is used, all departments within the user's visible scope of organization (Log in to the company's Admin to manage scopes) will be returned. If a recursive query is executed, only 1,000 departments at most will be filtered for visibility. - When tenant_access_token is used, the departments will be filtered by verification against the range of contacts data that the app can access. If the department ID is 0, the system checks whether the app has the all-staff contact scope. If the department ID is not 0, the system checks whether the app has the contact scope of the department. If no, an error code indicating no scope to acce...

  • Reinstatement of resigned employees

    Required connected-account bundle: directory (Directory). Select a connection authorized for this bundle. Reinstatement of resigned employees. This interface is used to restore the members who have left the company and restore them to the working state. Notice:Attention: - To restore the resigned employee as in-service, the enterprise version needs to be in the commercial professional version and above,You can view the current version of the enterprise through the management background> settings> version information , and the employee needs to leave within 30 days. After recovery, some user data is still unrecoverable, please call with caution. - The user ID of the member to be restored cannot be used by other members in the enterprise.You can query whether the User Identification exists through the Batch Get Employee List interface . If there is any duplication, please leave the corresponding member first, otherwise the interface will report an error. - The mobile phone number and...

  • Resign employee

    Required connected-account bundle: directory (Directory). Select a connection authorized for this bundle. Resign employee. This interface is for resign employees. Notice:Attention: - This interface supports tenant_access_token and user_access_token. - When using tenant_access_token, employees can only leave within the scope of the address book authorization currently applied. - If an employee belongs to multiple departments, the app needs to have the authority of all departments to which the employee belongs in order to leave successfully. - When using user_access_token, the default is the administrator user, and the administrator management scope will be verified. When the user has multiple administrator identities and can leave employees, the administrator management scope takes the maximum set. This operation is destructive.

  • SearchDepartment

    Required connected-account bundle: directory (Directory). Select a connection authorized for this bundle. SearchDepartment. This interface is used to search for department information, search for department information through keywords such as department names, and return a list of departments that meet the criteria. Notice:Attention: - This interface supports tenant_access_token and user_access_token. - When using tenant_access_token, the data permissions follow the contacts permissions of the app, and the field data returned is the field that the app has permissions for. - When using user_access_token, the default is the administrator user, and the administrator management scope will be verified. When the user has multiple administrator identities to view employee information, the administrator management scope takes the maximum set.

  • Search Employee Information

    Required connected-account bundle: directory (Directory). Select a connection authorized for this bundle. Search Employee Information. This interface is used to search for employee information, such as searching for employee names, mobile phone numbers, email addresses and other information through keywords. An employee is a member of Lark who is an "Employee", which is equivalent to a "User" in the Contacts OpenAPI Notice:Attention: - This API supports tenant_access_token and user_access_token. - When using tenant_access_token, the data permissions follow the contacts permissions of the application, and the returned field data is the field for which the application has permissions. You can determine the contacts permissions of the application by Getting the Contacts Permissions Configuration of the Application. - When using the user_access_token, the user is considered an administrator by default, and the administrator's management scope will be verified. When a user has multiple a...

  • Search for departments

    Required connected-account bundle: work_organization (Work Management & Organization). Select a connection authorized for this bundle. Search for departments. This API is used to search for department data with keywords. Department visibility is set by administrators in Admin. Provider constraints: This API is used to search for department data with keywords. Department visibility is set by administrators in Admin. Notice:If a department exists but the user cannot find it, this may also be because the administrator has set the department visibility.

  • Update department

    Required connected-account bundle: directory (Directory). Select a connection authorized for this bundle. Update department. This interface is used to update department information. Only the parts param that are explicitly passed are updated. Notice:- Department information can only be updated within the scope of the address book authorization of the current application (which can be viewed via the management backend > application permissions > address book authorization page). - To change the parent department of a department, you need to have the department permissions both before and after the change to succeed. - To change the head of a department, you need to have the personnel permissions before and after the change to ensure a successful change. - The user_access_token supported in this interface defaults to an administrator user, and the administrator's management scope will be verified. When a user has multiple administrator identities that can all update departments, the a...

  • Update employee information

    Required connected-account bundle: directory (Directory). Select a connection authorized for this bundle. Update employee information. This interface is used to update the information of current/former employees, freeze/restore employees. Unpassed parameters will not be updated. Employee refers to a member of Lark's enterprise who is identified as "Employee", which is equivalent to "User" in the address book OpenAPI. Notice:- The modification of employee status follows the rules of life cycle flow. For details, please refer to Directory-Employee Management-Resource Introduction. - This interface supports tenant_access_token and user_access_token.Refer to Get Access Credentials for the interface acquisition method. - When using tenant_access_token, employee information can only be updated within the scope of the current app's address book authorization.can be viewed in Developer Backend > Permission Management > Address Book Permission. - When changing an employee's department inform...

  • Update pre-resigned employee to unresigned

    Required connected-account bundle: directory (Directory). Select a connection authorized for this bundle. Update pre-resigned employee to unresigned. This interface is used to cancel the departure of the pending employee and update it to the "on-the-job" status. When canceling the departure, the departure information will be cleared. When using user_access_token, it defaults to an administrator user, and only administrators who can has "CoreHR Management" role can operate it.

  • Update unresigned employees to pre-resigned

    Required connected-account bundle: directory (Directory). Select a connection authorized for this bundle. Update unresigned employees to pre-resigned. This interface is used to handle the departure of current employees and update them to the status of "pending departure". "pending departure" employees will not automatically leave, and need to use the "delete employee" API to terminate and transfer resources. When using user_access_token, it defaults to an administrator user, and only administrators who have the "CoreHR Management" role can operate it.

  • Access to Wiki space information

    Required connected-account bundle: content_knowledge (Content & Knowledge). Select a connection authorized for this bundle. Access to Wiki space information. This interface is used to query the information of the Wiki space according to the Wiki space ID. Provider constraints: Space type: - Person Space: Managed by individuals. One person can only have one personal space, and no other administrators can be added. - Team Space: Managed by a team (multiple people), multiple administrators can be added. Space visibility: - Public Space: Visible to all users within the tenant and defaults to member permissions. Additional members cannot be added, but administrators can be added. - Private Space: Only visible to knowledge space administrators and members, administrators and members need to be added manually.

  • Add a Global Comment

    Required connected-account bundle: content_knowledge (Content & Knowledge). Select a connection authorized for this bundle. Add a Global Comment. Adds a global comment to Docs.

  • Sheet operations

    Required connected-account bundle: content_knowledge (Content & Knowledge). Select a connection authorized for this bundle. Sheet operations. Use this API to add, copy, or delete sheets based on a spreadsheetToken. This API uses the same request URL as Update sheet properties, but has different parameters. Read this document carefully before calling. Contract confidence is medium because this operation is documented but absent from the official SDK snapshot. This operation is destructive.

  • Add permissions

    Required connected-account bundle: content_knowledge (Content & Knowledge). Select a connection authorized for this bundle. Add permissions. This API is used to add permissions on a document for a user based on a filetoken.

  • Add protected range

    Required connected-account bundle: content_knowledge (Content & Knowledge). Select a connection authorized for this bundle. Add protected range. Use this API to add multiple protected ranges based on spreadsheetToken and dimension information. You can operate on up to 5000 rows or columns. Contract confidence is medium because this operation is documented but absent from the official SDK snapshot.

PreviousPage 4 / 23Next