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
- OAuth2:用于 API v2
API 1.0 弃用
HighLevel 已弃用 API v1.0,并且不再维护它。请使用 OAuth2 设置新的凭证。
相关资源(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 密钥的说明。
使用 OAuth2(Using OAuth2)#
要配置此凭据,你需要:
🌐 To configure this credential, you'll need:
- 客户端 ID
- 客户端密钥
要生成两者,请在 我的应用 > 创建应用 中创建一个应用。使用以下设置:
🌐 To generate both, create an app in My Apps > Create App. Use these settings:
- 将 分销类型 设置为 子账户。
- 添加这些权限范围:
locations.readonlycontacts.readonlycontacts.writeopportunities.readonlyopportunities.writeusers.readonly
- 从 n8n 复制 OAuth 重定向 URL,并将其作为 重定向 URL 添加到你的 HighLevel 应用中。
- 从 HighLevel 复制 Client ID 和 Client Secret 并将它们添加到你的 n8n 凭证中。
-
将上面添加的相同权限以空格分隔的列表形式添加到你的 n8n 凭证中。例如:
locations.readonly contacts.readonly contacts.write opportunities.readonly opportunities.write users.readonly
Refer to HighLevel's API Authorization documentation for more details. Refer to HighLevel's API Scopes documentation for more information about available scopes.