HighLevel 凭证#
¥HighLevel credentials
你可以使用以下凭据验证以下节点:
¥You can use these credentials to authenticate the following nodes:
先决条件#
¥Prerequisites
创建 HighLevel 开发者文档 账户。
¥Create a HighLevel developer account.
支持的身份验证方法#
¥Supported authentication methods
- API 密钥:配合 API v1 使用
¥API key: Use with API v1
- OAuth2:配合 API v2 使用
¥OAuth2: Use with API v2
API 1.0 deprecation
HighLevel 已弃用 API v1.0,并且不再维护。使用 OAuth2 设置新凭据。
¥HighLevel deprecated API v1.0 and no longer maintains it. Use OAuth2 to set up new credentials.
相关资源#
¥Related resources
有关服务的更多信息,请参阅 HighLevel API 2.0 文档。
¥Refer to HighLevel's API 2.0 documentation for more information about the service.
对于与 API v1.0 的现有集成,请参阅 HighLevel API 1.0 文档。
¥For existing integrations with the API v1.0, refer to HighLevel's API 1.0 documentation.
使用 API 密钥#
¥Using API key
要配置此凭据,你需要:
¥To configure this credential, you'll need:
- API 密钥:请参阅 HighLevel API 1.0 欢迎文档 以获取获取 API 密钥的说明。
¥An API Key: Refer to the HighLevel API 1.0 Welcome documentation for instructions on getting your API key.
使用 OAuth2#
¥Using OAuth2
要配置此凭据,你需要:
¥To configure this credential, you'll need:
- 客户端 ID
¥A Client ID
- 客户端密钥:
¥A Client Secret
要生成这两个字段,请在“我的应用”>“创建应用”中创建一个应用。使用这些设置:
¥To generate both, create an app in My Apps > Create App. Use these settings:
- 将“分发类型”设置为“子账户”。
¥Set Distribution Type to Sub-Account. 2. 添加以下权限范围:
¥Add these Scopes:
-
locations.readonly -
contacts.readonly -
contacts.write -
opportunities.readonly -
opportunities.write -
users.readonly3. 从 n8n 复制 OAuth 重定向 URL,并将其添加到你的 HighLevel 应用中作为重定向 URL。
¥Copy the OAuth Redirect URL from n8n and add it as a Redirect URL in your HighLevel app. 4. 复制 HighLevel 中的客户端 ID 和客户端密钥,并将其添加到你的 n8n 凭据中。
¥Copy the Client ID and Client Secret from HighLevel and add them to your n8n credential. 5. 将上面添加的相同范围以空格分隔的列表形式添加到你的 n8n 凭据中。例如:
¥Add the same scopes added above to your n8n credential in a space-separated list. For example:
locations.readonly contacts.readonly contacts.write opportunities.readonly opportunities.write users.readonly
更多信息请参阅 HighLevel 的 API 授权文档 文档。有关可用权限范围的更多信息,请参阅 HighLevel 的 API 范围文档 文档。
¥Refer to HighLevel's API Authorization documentation for more details. Refer to HighLevel's API Scopes documentation for more information about available scopes.