Skip to main content

Open Platform and APIs

HAP APIs allow external systems to read and write worksheet records, trigger workflows, and synchronize organizational data such as members and departments.

What You Want to DoWhere to Start
Get started with API integration, choose an authentication method, and verify API callsDeveloper Guide
Look up API endpoints, request parameters, response structures, and code examplesAPI Reference
View organization keys, create app authorization keys, or retrieve field and view IDs in HAPOrganization APIs, Application APIs
Manage third-party app access scopes and member authorizationOAuth Apps
Call third-party APIs from HAP or receive data pushed from external systemsAPI Integration, Write Data to Worksheets via Webhooks

Organization APIs​

Organization APIs provide access to organization-level data, including users, departments, reporting relationships, logs, and workflow to-dos.

Go to Org Admin > Integration > Misc. > Open API to view the organization's credentials (AppKey and SecretKey) and API documentation.

Organization open API documentation (HAP SaaS): https://apidoc.mingdao.com/docs/user/organization-upsertusers?version=v2&auth=org

For HAP Server, organization administrators can access the documentation from the same location. The API debugging endpoint will automatically use the HAP Server domain.

Application APIs​

Application APIs allow you to retrieve or manage data and configurations within an individual app, including worksheets, records, views, workflows, roles, and charts.

Access the API Documentation​

Click the button next to the application name and select API Developer Docs.

App Authorization​

To authenticate with an app key, app administrators can go to Authorization Management and click Create Authorization Key. This page is not accessible to developers or operators. For personal access tokens or OAuth 2.0, see the Developer Guide.

An app can have multiple authorization keys. Each key includes an AppKey, Sign, and an API permission scope. Separate keys can be created for different systems, integrations, or business use cases.

Field and View Information Table​

Each worksheet includes detailed information about its fields and views.

  • Field Information Table

    Includes:

    • Field ID
    • Field Name
    • Type
    • Control Type ID
    • Description
  • View Information Table

    Includes:

    • View ID
    • View Name
    • View Type

Filter Generator​

The Filter Generator allows you to generate filter code through a visual configuration interface.

Path:

Application API Documentation > Worksheet > Target Worksheet > Field Information Table > Filter Generator

API Rate Limits and Restrictions​

For details on API limits and troubleshooting, see the Rate Limits and Request Size section of the Developer Guide.

Was this document helpful?